diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-27 20:59:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-27 20:59:49 +0000 |
commit | d345ee75e089cb3629d1cf4383344f02d279594a (patch) | |
tree | f0d71e40e42731b8bd47e201442ce58141f9607b /nuttx/configs/stm3240g-eval/Kconfig | |
parent | 4511f9758bf8027c5ee01b654b3b1558ebb2d11a (diff) | |
download | px4-nuttx-d345ee75e089cb3629d1cf4383344f02d279594a.tar.gz px4-nuttx-d345ee75e089cb3629d1cf4383344f02d279594a.tar.bz2 px4-nuttx-d345ee75e089cb3629d1cf4383344f02d279594a.zip |
Fix/verify the STM32 LCD in all supported orientations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4666 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/Kconfig')
-rw-r--r-- | nuttx/configs/stm3240g-eval/Kconfig | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/nuttx/configs/stm3240g-eval/Kconfig b/nuttx/configs/stm3240g-eval/Kconfig index e47bd4121..fbd4f8cbb 100644 --- a/nuttx/configs/stm3240g-eval/Kconfig +++ b/nuttx/configs/stm3240g-eval/Kconfig @@ -30,7 +30,19 @@ 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). + "landscape" orientation. + + For the STM3240G-EVAL board, the edge opposite from the row of buttons + is used as the top of the display in this orientation. + +config LCD_RLANDSCAPE + bool "320x240 reverse landscape display" + ---help--- + Define for 320x240 display "reverse landscape" support. Default is this 320x240 + "landscape" orientation. + + For the STM3240G-EVAL board, the edge next to the row of buttons + is used as the top of the display in this orientation. config LCD_PORTRAIT bool "240x320 portrait display" @@ -39,6 +51,10 @@ config LCD_PORTRAIT orientation, the STM3210E-EVAL's LCD ribbon cable is at the bottom of the display. Default is 320x240 "landscape" orientation. + In this orientation, the top of the display is to the left + of the buttons (if the board is held so that the buttons are at the + botton of the board). + config LCD_RPORTRAIT bool "240x320 reverse portrait display" ---help--- @@ -46,6 +62,10 @@ config LCD_RPORTRAIT this orientation, the STM3210E-EVAL's LCD ribbon cable is at the top of the display. Default is 320x240 "landscape" orientation. + In this orientation, the top of the display is to the right + of the buttons (if the board is held so that the buttons are at the + botton of the board). + endchoice config LCD_RDSHIFT |