summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-28 17:12:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-28 17:12:11 +0000
commitfd7c0194d583e6f7d60e29f5fdd88b3a68b0d0de (patch)
tree66aa1997340b2fef132b29401f6bc33c0fe18857 /nuttx/arch/arm/src/lpc17xx/Kconfig
parentff4412a0c33bfc12c87a98e354a092be5c0246a6 (diff)
downloadpx4-nuttx-fd7c0194d583e6f7d60e29f5fdd88b3a68b0d0de.tar.gz
px4-nuttx-fd7c0194d583e6f7d60e29f5fdd88b3a68b0d0de.tar.bz2
px4-nuttx-fd7c0194d583e6f7d60e29f5fdd88b3a68b0d0de.zip
In LPC1788 24-bit color mode, we need to tell NX that the resolution if 32 bpp; Add interfaces to control Open1788 backlight
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5798 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/Kconfig')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Kconfig b/nuttx/arch/arm/src/lpc17xx/Kconfig
index 7f7da0be6..cad80ac7e 100644
--- a/nuttx/arch/arm/src/lpc17xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc17xx/Kconfig
@@ -639,6 +639,19 @@ config LPC17_LCD_REFRESH_FREQ
---help---
LCD refesh rate (Hz)
+config LPC17_LCD_BACKLIGHT
+ bool "Enable backlight"
+ default y
+ ---help---
+ Enable backlight support. If LPC17_LCD_BACKLIGHT is selected, then
+ the board-specific logic must provide this lpc17_backlight()
+ interface so that the LCD driver can turn the backlight on and off
+ as necessary. You should select this option and implement
+ lpc17_backlight() if your board provides GPIO control over the
+ backlight. This interface provides only ON/OFF control of the
+ backlight. If you want finer control over the backlight level (for
+ example, using PWM), then this interface would need to be extended.
+
config LPC17_LCD_TFTPANEL
bool "TFT Panel"
default y