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:
Sergey Rzhevsky 2025-09-14 21:00:07 +03:00 committed by simbit18
parent 49bb96bd3a
commit 59f3a37b83

View file

@ -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()