summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/nxtext
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-10 20:31:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-10 20:31:21 +0000
commit97532cbaafe1225ad8e96ff52212681cd87ed907 (patch)
tree1761bf2f4036caa71facae8e22a9cca5a89ef13b /nuttx/configs/stm3210e-eval/nxtext
parentc1074fd3aae86440ac6ac95b79f8695d9f5f8136 (diff)
downloadpx4-nuttx-97532cbaafe1225ad8e96ff52212681cd87ed907.tar.gz
px4-nuttx-97532cbaafe1225ad8e96ff52212681cd87ed907.tar.bz2
px4-nuttx-97532cbaafe1225ad8e96ff52212681cd87ed907.zip
Add support for STM32 LCD backlight
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4087 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/nxtext')
-rw-r--r--nuttx/configs/stm3210e-eval/nxtext/defconfig11
1 files changed, 8 insertions, 3 deletions
diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig
index e86d4ce99..07ab05c74 100644
--- a/nuttx/configs/stm3210e-eval/nxtext/defconfig
+++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig
@@ -892,14 +892,19 @@ CONFIG_NX_MXCLIENTMSGS=16
# portrait" orientation support. In this orientation, the
# STM3210E-EVAL's LCD ribbon cable is at the top of the display.
# Default is 320x240 "landscape" orientation.
-# CONFIG_LCD_BACKLIGHT - Define to support an adjustable backlight
-# using timer 1. The granularity of the settings is determined
-# by CONFIG_LCD_MAXPOWER. Requires CONFIG_STM32_TIM1.
+# CONFIG_LCD_BACKLIGHT - Define to support a backlight.
+# CONFIG_LCD_PWM - If CONFIG_STM32_TIM1 is also defined, then an
+# adjustable backlight will be provided using timer 1 to generate
+# various pulse widthes. The granularity of the settings is
+# determined by CONFIG_LCD_MAXPOWER. If CONFIG_LCD_PWM (or
+# CONFIG_STM32_TIM1) is not defined, then a simple on/off backlight
+# is provided.
#
CONFIG_LCD_LANDSCAPE=n
CONFIG_LCD_PORTRAIT=n
CONFIG_LCD_RPORTRAIT=y
CONFIG_LCD_BACKLIGHT=n
+CONFIG_LCD_PWM=n
#
# Settings for examples/uip