refactor(f4): use generic init system on F4 targets (#6183)

Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
Raphael Coeffic
2025-07-24 08:56:04 +10:00
committed by GitHub
co-authored by Richard Li
parent 538721ef6b
commit dd013e88e9
15 changed files with 1066 additions and 2025 deletions
+1 -1
View File
@@ -176,7 +176,6 @@ set(BOARD_COMMON_SRC
targets/common/arm/stm32/flash_driver.cpp
targets/common/arm/stm32/pwr_driver.cpp
targets/common/arm/stm32/rtc_driver.cpp
targets/common/arm/stm32/sdram_driver.cpp
targets/common/arm/stm32/spi_flash.cpp
targets/common/arm/stm32/watchdog_driver.cpp
drivers/frftl.cpp
@@ -199,6 +198,7 @@ endif()
add_library(board_bl OBJECT EXCLUDE_FROM_ALL
${BOARD_COMMON_SRC}
${RADIO_SRC_DIR}/gui/colorlcd/boot_menu.cpp
targets/common/arm/stm32/sdram_driver.cpp
)
add_dependencies(board_bl ${BITMAPS_TARGET})
set(BOOTLOADER_SRC ${BOOTLOADER_SRC} $<TARGET_OBJECTS:board_bl>)