summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4e-ek/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sam4e-ek/Kconfig')
-rw-r--r--nuttx/configs/sam4e-ek/Kconfig34
1 files changed, 23 insertions, 11 deletions
diff --git a/nuttx/configs/sam4e-ek/Kconfig b/nuttx/configs/sam4e-ek/Kconfig
index 470dbd8b8..e056070a7 100644
--- a/nuttx/configs/sam4e-ek/Kconfig
+++ b/nuttx/configs/sam4e-ek/Kconfig
@@ -62,17 +62,29 @@ config SAM4EEK_HSMCI_BLOCKDEVICE
endchoice # AT25 serial FLASH configuration
-config SAM4EEK_ILI9325
- bool "ILI9325-based LCD"
+if LCD
+
+choice
+ prompt "ILI9325-based LCD Color Configuration"
+ default SAM4EEK_LCD_RGB565
+
+config SAM4EEK_LCD_RGB565
+ bool "RGB565"
default n
- depends on EXPERIMENTAL
- select NX
- select NX_LCDDRIVER
- ---help---
- This option enables support for the SAM4E-EK on-board LCD. The
- SAM4E-EK carries a TFT transmissive LCD module with touch panel,
- FTM280C34D. Its integrated driver IC is ILI9325. The LCD display
- area is 2.8 inches diagonally measured, with a native resolution
- of 240 x 320 dots.
+config SAM4EEK_LCD_RGB24
+ bool "RGB24 / RGB888"
+ default n
+
+config SAM4EEK_LCD_RGB32
+ bool "RGB32"
+ default n
+
+endchoice # ILI9325-based LCD Color Configuration
+
+config SAM4EEK_LCD_BGCOLOR
+ hex "Initial background color"
+ default 0x00
+
+endif # LCD
endif # ARCH_BOARD_SAM4EEK