diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-25 21:15:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-25 21:15:02 +0000 |
commit | fd3df782b1ceca6bc7f36817639c2a9b80560c02 (patch) | |
tree | 556fbacce4a8b42af0333ed57296ecf1a62b8e1d /nuttx/graphics | |
parent | 734ea8dc168c8b412af2548cdc27d7fa02cd4f7f (diff) | |
download | px4-firmware-fd3df782b1ceca6bc7f36817639c2a9b80560c02.tar.gz px4-firmware-fd3df782b1ceca6bc7f36817639c2a9b80560c02.tar.bz2 px4-firmware-fd3df782b1ceca6bc7f36817639c2a9b80560c02.zip |
Add more LCD-related Kconfig logic; Create a Kconfig file for NxWidgets
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5189 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/Kconfig | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nuttx/graphics/Kconfig b/nuttx/graphics/Kconfig index 1ae387605..18b1e1ab9 100644 --- a/nuttx/graphics/Kconfig +++ b/nuttx/graphics/Kconfig @@ -11,6 +11,16 @@ config NX if NX +config NX_LCDDRIVER + bool "LCD driver" + default y + depends on LCD + ---help--- + By default, the NX graphics system uses the frame buffer driver interface + defined in include/nuttx/fb.h. However, if LCD is support is enabled, + this this option is provide to select, instead, the LCD driver interface + defined in include/nuttx/lcd/lcd.h. + config NX_NPLANES int "Number of Color Planes" default 1 @@ -21,8 +31,8 @@ config NX_NPLANES config NX_WRITEONLY bool "Write-only Graphics Device" - default y if NX_LCDDRIVER && NX_LCDDRIVER - default n if !NX_LCDDRIVER || !NX_LCDDRIVER + default y if NX_LCDDRIVER && LCD_NOGETRUN + default n if !NX_LCDDRIVER || !LCD_NOGETRUN ---help--- Define if the underlying graphics device does not support read operations. Automatically defined if NX_LCDDRIVER and LCD_NOGETRUN are |