stm32f429i-disco: enable configuration of framebuffer support for the ltdc controller
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
This commit is contained in:
parent
a5a8349226
commit
9853b62e73
@ -174,4 +174,42 @@ config STM32F429I_DISCO_ILI9341_LCDDEVICE
|
|||||||
corresponding to the configured ili9341 lcd device in the driver
|
corresponding to the configured ili9341 lcd device in the driver
|
||||||
section.
|
section.
|
||||||
|
|
||||||
|
config STM32F429I_DISCO_ILI9341_FBIFACE
|
||||||
|
bool "Enable support for nuttx frambuffer interface"
|
||||||
|
default n
|
||||||
|
depends on STM32F429I_DISCO_ILI9341 && STM32_LTDC
|
||||||
|
---help---
|
||||||
|
Enable lcd driver support for the nuttx framebuffer interface to displaying
|
||||||
|
data via ltdc controller of the stm32f429i mcu.
|
||||||
|
|
||||||
|
if STM32F429I_DISCO_ILI9341_FBIFACE
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "LCD Orientation"
|
||||||
|
default STM32F429I_DISCO_ILI9341_FBIFACE_PORTRAIT
|
||||||
|
---help---
|
||||||
|
Configure display orientation.
|
||||||
|
|
||||||
|
config STM32F429I_DISCO_ILI9341_FBIFACE_LANDSCAPE
|
||||||
|
bool "Landscape orientation"
|
||||||
|
---help---
|
||||||
|
Define for "landscape" orientation support.
|
||||||
|
|
||||||
|
config STM32F429I_DISCO_ILI9341_FBIFACE_PORTRAIT
|
||||||
|
bool "Portrait orientation"
|
||||||
|
---help---
|
||||||
|
Define for "portrait" orientation support.
|
||||||
|
|
||||||
|
config STM32F429I_DISCO_ILI9341_FBIFACE_RLANDSCAPE
|
||||||
|
bool "Reverse landscape orientation"
|
||||||
|
---help---
|
||||||
|
Define for "reverse landscape" orientation support.
|
||||||
|
|
||||||
|
config STM32F429I_DISCO_ILI9341_FBIFACE_RORTRAIT
|
||||||
|
bool "Reverse portrait display"
|
||||||
|
---help---
|
||||||
|
Define for "reverse portrait" orientation support.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -76,7 +76,10 @@ ifeq ($(CONFIG_STM32F429I_DISCO_ILI9341),y)
|
|||||||
CSRCS += stm32_ili93414ws.c
|
CSRCS += stm32_ili93414ws.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_STM32F429I_DISCO_ILI9341_LCDIFACE),y)
|
ifeq ($(and \
|
||||||
|
$(CONFIG_STM32F429I_DISCO_ILI9341_LCDIFACE), \
|
||||||
|
$(CONFIG_STM32F429I_DISCO_ILI9341_FBIFACE), \
|
||||||
|
$(CONFIG_STM32_LTDC)),)
|
||||||
CSRCS += stm32_lcd.c
|
CSRCS += stm32_lcd.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user