From 8f4f166bf0e0a9875b86bcbc28c51672ea0ba3c7 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Wed, 17 Apr 2024 14:50:36 -0300 Subject: [PATCH] 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()