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

xiaoxiang 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 8f4f166bf0 boards/stm32: Add ds1307 to CMake build
8f4f166bf0 is described below

commit 8f4f166bf0e0a9875b86bcbc28c51672ea0ba3c7
Author: Alan Carvalho de Assis <[email protected]>
AuthorDate: Wed Apr 17 14:50:36 2024 -0300

    boards/stm32: Add ds1307 to CMake build
---
 boards/arm/stm32/common/src/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boards/arm/stm32/common/src/CMakeLists.txt 
b/boards/arm/stm32/common/src/CMakeLists.txt
index 7ee6cf5ed9..8557119f0e 100644
--- a/boards/arm/stm32/common/src/CMakeLists.txt
+++ b/boards/arm/stm32/common/src/CMakeLists.txt
@@ -56,6 +56,10 @@ if(CONFIG_LCD_SSD1306)
   list(APPEND SRCS stm32_ssd1306.c)
 endif()
 
+if(CONFIG_RTC_DS1307)
+  list(APPEND SRCS stm32_ds1307.c)
+endif()
+
 if(CONFIG_SENSORS_LM75)
   list(APPEND SRCS stm32_lm75.c)
 endif()

Reply via email to