summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-08 08:29:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-08 08:29:48 -0600
commit9cfcb7bd9962b4c7ebb21964fb6f4d25bb0a5093 (patch)
tree8be1c869d3016003385401fd06de7f34fdc65ec2
parent6f5573e74e8ea9715cec55ae9b69151100297585 (diff)
downloadnuttx-9cfcb7bd9962b4c7ebb21964fb6f4d25bb0a5093.tar.gz
nuttx-9cfcb7bd9962b4c7ebb21964fb6f4d25bb0a5093.tar.bz2
nuttx-9cfcb7bd9962b4c7ebb21964fb6f4d25bb0a5093.zip
Allow building simulated framebuffer dirver is NX is not enabled
-rw-r--r--nuttx/arch/sim/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/sim/Kconfig b/nuttx/arch/sim/Kconfig
index c2701aee3..4fda868f1 100644
--- a/nuttx/arch/sim/Kconfig
+++ b/nuttx/arch/sim/Kconfig
@@ -56,14 +56,15 @@ config SIM_LCDDRIVER
config SIM_FRAMEBUFFER
bool "Build a simulated frame buffer driver"
default y
- depends on NX && !NX_LCDDRIVER
+ depends on !NX_LCDDRIVER
---help---
Build a simulated frame buffer driver"
+if SIM_FRAMEBUFFER
+
config SIM_X11FB
bool "Use X11 window"
default n
- depends on NX
---help---
Use an X11 graphics window to simulate the graphics device"
@@ -77,7 +78,6 @@ config SIM_X11NOSHM
config SIM_FBHEIGHT
int "Display height"
default 240
- depends on NX
---help---
Simulated display height. Default: 240
@@ -85,19 +85,19 @@ config SIM_FBWIDTH
int "Display width"
default 320 if SIM_LCDDRIVER
default 480 if SIM_FRAMEBUFFER
- depends on NX
---help---
Simulated width of the display. Default: 320 or 480
config SIM_FBBPP
int "Pixel depth in bits"
default 8
- depends on NX
---help---
Pixel depth in bits. Valid choices are 4, 8, 16, 24, or 32.
If you use the X11 display emulation, the selected BPP must match the BPP
of your graphics hardware (probably 32 bits). Default: 8
+endif # SIM_FRAMEBUFFER
+
config SIM_TOUCHSCREEN
bool "Support an X11 mouse-based touchscreen emulation"
default n