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

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

commit 21a99f9a2392ed4794ea94f416555511be4c025d
Author: Liam Howatt <[email protected]>
AuthorDate: Mon Aug 24 15:22:23 2026 -0400

    boards/stm32h5/nucleo-h563zi: CMake add missing SPI SRC.
    
    SPI support was added to nucleo-h563zi without the CMakeLists.txt
    SRCS list being updated to build stm32_spi.c. Add it.
    
    Signed-off-by: Liam Howatt <[email protected]>
---
 boards/arm/stm32h5/nucleo-h563zi/src/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boards/arm/stm32h5/nucleo-h563zi/src/CMakeLists.txt 
b/boards/arm/stm32h5/nucleo-h563zi/src/CMakeLists.txt
index 7a979d50c30..75c0d6d997b 100644
--- a/boards/arm/stm32h5/nucleo-h563zi/src/CMakeLists.txt
+++ b/boards/arm/stm32h5/nucleo-h563zi/src/CMakeLists.txt
@@ -28,6 +28,10 @@ else()
   list(APPEND SRCS stm32_userleds.c)
 endif()
 
+if(CONFIG_STM32_SPI)
+  list(APPEND SRCS stm32_spi.c)
+endif()
+
 if(CONFIG_ARCH_BUTTONS)
   list(APPEND SRCS stm32_buttons.c)
 endif()

Reply via email to