mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:22:17 +08:00
cmake/stm32h7: Add LTDC support to CMakeLists.txt
Adds conditional compilation of the stm32_ltdc.c file to the source list (SRCS) for STM32H7 architecture when the CONFIG_STM32H7_LTDC option is enabled in the configuration. Signed-off-by: Sergey Rzhevsky <rzsa@yandex.ru>
This commit is contained in:
committed by
simbit18
parent
49bb96bd3a
commit
59f3a37b83
@@ -150,6 +150,10 @@ if(CONFIG_CAPTURE)
|
||||
list(APPEND SRCS stm32_capture_lowerhalf.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_STM32H7_LTDC)
|
||||
list(APPEND SRCS stm32_ltdc.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_USBDEV)
|
||||
list(APPEND SRCS stm32_otgdev.c)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user