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 bd698ccf70d arch/arm/stm32f0l0g0: add stm32_flash.c support for CMake
bd698ccf70d is described below

commit bd698ccf70d9aab00acd68aae56f4c9d1b767288
Author: raiden00pl <[email protected]>
AuthorDate: Tue Oct 7 08:57:49 2025 +0200

    arch/arm/stm32f0l0g0: add stm32_flash.c support for CMake
    
    add missing stm32_flash.c to CMake build
    
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/arm/src/stm32f0l0g0/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/src/stm32f0l0g0/CMakeLists.txt 
b/arch/arm/src/stm32f0l0g0/CMakeLists.txt
index 0ebcf053ca0..2d0b6d9cb53 100644
--- a/arch/arm/src/stm32f0l0g0/CMakeLists.txt
+++ b/arch/arm/src/stm32f0l0g0/CMakeLists.txt
@@ -59,6 +59,10 @@ if(CONFIG_BUILD_PROTECTED)
   list(APPEND SRCS stm32_userspace.c)
 endif()
 
+if(CONFIG_STM32F0L0G0_PROGMEM)
+  list(APPEND SRCS stm32_flash.c)
+endif()
+
 if(CONFIG_STM32F0L0G0_GPIOIRQ)
   list(APPEND SRCS stm32_gpioint.c)
 endif()

Reply via email to