summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 22:29:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-18 22:29:50 +0000
commit607ce6753b14ac62010faab2e174b9a34e26d00f (patch)
tree275996349763237528ebb333bd55391e6ad7edea /nuttx/configs
parent46d50409982d5d3aa25a98642251ffa82fcd3306 (diff)
downloadpx4-nuttx-607ce6753b14ac62010faab2e174b9a34e26d00f.tar.gz
px4-nuttx-607ce6753b14ac62010faab2e174b9a34e26d00f.tar.bz2
px4-nuttx-607ce6753b14ac62010faab2e174b9a34e26d00f.zip
More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4633 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/stm3210e-eval/Kconfig92
1 files changed, 92 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/Kconfig b/nuttx/configs/stm3210e-eval/Kconfig
index ae2bf3130..d6d3a18f0 100644
--- a/nuttx/configs/stm3210e-eval/Kconfig
+++ b/nuttx/configs/stm3210e-eval/Kconfig
@@ -2,3 +2,95 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+if ARCH_BOARD_STM3210E_EVAL
+comment "STM3210E-EVAL LCD Hardware Configuration"
+
+config STM3210E_LCD
+ bool "Select support for the STM3210E-EVAL LCD"
+ default y
+ depends on STM32_FSMC
+
+choice
+ prompt "STM3210E-EVAL LCD Orientation"
+ default LCD_LANDSCAPE
+ depends on STM3210E_LCD
+
+config LCD_LANDSCAPE
+ bool "320x240 landscape display"
+ ---help---
+ Define for 320x240 display "landscape" support. Default is this 320x240
+ "landscape" orientation (this setting is informative only... not used).
+
+config LCD_PORTRAIT
+ bool "240x320 portrait display"
+ ---help---
+ Define for 240x320 display "portrait" orientation support. In this
+ orientation, the STM3210E-EVAL's LCD ribbon cable is at the bottom of
+ the display. Default is 320x240 "landscape" orientation.
+
+config LCD_RPORTRAIT
+ bool "240x320 reverse portrait display"
+ ---help---
+ Define for 240x320 display "reverse 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.
+
+endchoice
+
+config LCD_BACKLIGHT
+ bool "LCD backlight support"
+ depends on STM3210E_LCD
+ default n
+ ---help---
+ Define to support a backlight.
+
+config LCD_PWM
+ bool "LCD backlight PWM control"
+ default n
+ depends on LCD_BACKLIGHT && STM32_TIM1
+ ---help---
+ If 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 LCD_MAXPOWER. If LCD_PWM
+ (or STM32_TIM1) is not defined, then a simple on/off backlight is
+ provided.
+
+config LCD_RDSHIFT
+ int "LCD data shift
+ default 5
+ depends on STM3210E_LCD
+ ---help---
+ When reading 16-bit gram data, there appears to be a shift in the returned
+ data. This value fixes the offset. Default 5.
+
+config STM32_AM240320_DISABLE
+ bool "Disable AM240320 support"
+ default n
+ depends on STM3210E_LCD
+ ---help---
+ The LCD driver dynamically selects the LCD based on the reported LCD
+ ID value. However, code size can be reduced by suppressing support for
+ individual LCDs using this option
+
+config STM32_SPFD5408B_DISABLE
+ bool "Disable SPFD5408B support"
+ default n
+ depends on STM3210E_LCD
+ ---help---
+ The LCD driver dynamically selects the LCD based on the reported LCD
+ ID value. However, code size can be reduced by suppressing support for
+ individual LCDs using this option
+
+config STM32_R61580_DISABLE
+ bool "Disable R61580 support"
+ default n
+ depends on STM3210E_LCD
+ ---help---
+ The LCD driver dynamically selects the LCD based on the reported LCD
+ ID value. However, code size can be reduced by suppressing support for
+ individual LCDs using this option
+
+endif
+
+