diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-26 22:34:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-26 22:34:15 +0000 |
commit | 68cd11bf2a8f0f37e733572ce2bad747c3ee81b3 (patch) | |
tree | f0ee8c209f166bbc014aeeb8b9713471e76871e2 /nuttx/arch/arm/src/lpc17xx/Kconfig | |
parent | 0ad5854398fe8a6228556b96a1609a78ee73f83d (diff) | |
download | px4-nuttx-68cd11bf2a8f0f37e733572ce2bad747c3ee81b3.tar.gz px4-nuttx-68cd11bf2a8f0f37e733572ce2bad747c3ee81b3.tar.bz2 px4-nuttx-68cd11bf2a8f0f37e733572ce2bad747c3ee81b3.zip |
Change the way that BPP is configured for the LPC17xx LCD so that all possible BPP options can be selected
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5790 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/Kconfig | 44 |
1 files changed, 40 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Kconfig b/nuttx/arch/arm/src/lpc17xx/Kconfig index 1dc84000f..82b830a14 100644 --- a/nuttx/arch/arm/src/lpc17xx/Kconfig +++ b/nuttx/arch/arm/src/lpc17xx/Kconfig @@ -644,11 +644,47 @@ config LPC17_LCD_REFRESH_FREQ ---help--- LCD refesh rate (Hz) -config LPC17_LCD_BPP - int "Bits per pixel" - default 24 +config LPC17_LCD_TFTPANEL + bool "TFT Panel" + default y ---help--- - Bits per pixel + TFT Panel vs. STN display. STN display panels require algorithmic + pixel pattern generation to provide pseudo gray scaling on + monochrome displays, or color creation on color displays. TFT + display panels require the digital color value of each pixel to be + applied to the display data inputs. + +choice + prompt "Bits per pixel" + default LPC17_LCD_BPP24 if LPC17_LCD_TFTPANEL + default LPC17_LCD_BPP16_565 if !LPC17_LCD_TFTPANEL + +config LPC17_LCD_BPP1 + bool "1 bit per pixel" + +config LPC17_LCD_BPP2 + bool "2 bit per pixel" + +config LPC17_LCD_BPP4 + bool "4 bit per pixel" + +config LPC17_LCD_BPP8 + bool "8 bit per pixel" + +config LPC17_LCD_BPP16 + bool "16 bit per pixel" + +config LPC17_LCD_BPP24 + bool "24 bit per pixel" + depends on LPC17_LCD_TFTPANEL + +config LPC17_LCD_BPP16_565 + bool "16 bpp, 5:6:5 mode" + +config LPC17_LCD_BPP12_444 + bool "12 bpp, 4:4:4 mode" + +endchoice config LPC17_LCD_BACKCOLOR hex "Initial background color" |