aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-25 21:15:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-25 21:15:02 +0000
commitfd3df782b1ceca6bc7f36817639c2a9b80560c02 (patch)
tree556fbacce4a8b42af0333ed57296ecf1a62b8e1d /nuttx/configs/shenzhou
parent734ea8dc168c8b412af2548cdc27d7fa02cd4f7f (diff)
downloadpx4-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/configs/shenzhou')
-rw-r--r--nuttx/configs/shenzhou/Kconfig72
-rw-r--r--nuttx/configs/shenzhou/src/up_lcd.c3
2 files changed, 73 insertions, 2 deletions
diff --git a/nuttx/configs/shenzhou/Kconfig b/nuttx/configs/shenzhou/Kconfig
index 92d294099..bfd67abdf 100644
--- a/nuttx/configs/shenzhou/Kconfig
+++ b/nuttx/configs/shenzhou/Kconfig
@@ -4,4 +4,76 @@
#
if ARCH_BOARD_SHENZHOU
+
+if LCD
+menu "LCD Controller Selection"
+
+comment "Disable Unused LCD Controllers"
+
+config STM32_ILI1505_DISABLE
+ bool "Disable ILI1505"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI1505 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9300_DISABLE
+ bool "Disable ILI9300"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9300 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9320_DISABLE
+ bool "Disable ILI9320"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9320 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9321_DISABLE
+ bool "Disable ILI9321"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9321 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9325_DISABLE
+ bool "Disable ILI9325"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9325 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9328_DISABLE
+ bool "Disable ILI9328"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9328 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9331_DISABLE
+ bool "Disable ILI9331"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9331 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+config STM32_ILI9919_DISABLE
+ bool "Disable ILI9919"
+ default n
+ ---help---
+ This may be defined to disable support for the ILI9919 LCD controller
+ You might want to eliminate unused LCD controll support in order to
+ reduce the FLASH footprint.
+
+endmenu
+endif
endif
diff --git a/nuttx/configs/shenzhou/src/up_lcd.c b/nuttx/configs/shenzhou/src/up_lcd.c
index a58b795c4..1de2a7d4b 100644
--- a/nuttx/configs/shenzhou/src/up_lcd.c
+++ b/nuttx/configs/shenzhou/src/up_lcd.c
@@ -135,8 +135,7 @@
* Pre-processor Definitions
************************************************************************************/
/* Configuration **********************************************************************/
-/*
- * CONFIG_STM32_ILI1505_DISABLE may be defined to disable the LCD_ILI1505
+/* CONFIG_STM32_ILI1505_DISABLE may be defined to disable the LCD_ILI1505
* CONFIG_STM32_ILI9300_DISABLE may be defined to disable the LCD_ILI9300
* CONFIG_STM32_ILI9320_DISABLE may be defined to disable the LCD_ILI9320
* CONFIG_STM32_ILI9321_DISABLE may be defined to disable the LCD_ILI9321