This is an automated email from the ASF dual-hosted git repository.

simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 59f3a37b836 cmake/stm32h7: Add LTDC support to CMakeLists.txt
59f3a37b836 is described below

commit 59f3a37b836e447bc4ddfb1848e8174c388be80b
Author: Sergey Rzhevsky <r...@yandex.ru>
AuthorDate: Sun Sep 14 21:00:07 2025 +0300

    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 <r...@yandex.ru>
---
 arch/arm/src/stm32h7/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/src/stm32h7/CMakeLists.txt 
b/arch/arm/src/stm32h7/CMakeLists.txt
index 11cb59004f3..517a72af7c9 100644
--- a/arch/arm/src/stm32h7/CMakeLists.txt
+++ b/arch/arm/src/stm32h7/CMakeLists.txt
@@ -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()

Reply via email to