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:
parent
49bb96bd3a
commit
59f3a37b83
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue