summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2025-11-25 10:49:07 +0100
committerZixun LI <[email protected]>2025-11-25 10:49:07 +0100
commite59b2c40fc9e655918629d73cc8c54b86b4a70c1 (patch)
tree6e85198a174abc0513189ef611de04c63ec485d6 /hw
parent5130850337c1e8e0eedfa2d7165413de27ff6d2f (diff)
Fix N6 build
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/stm32n6/family.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/stm32n6/family.cmake b/hw/bsp/stm32n6/family.cmake
index 76763937e..89e4989ad 100644
--- a/hw/bsp/stm32n6/family.cmake
+++ b/hw/bsp/stm32n6/family.cmake
@@ -52,11 +52,11 @@ function(add_board_target BOARD_TARGET)
set(STARTUP_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/startup_${MCU_VARIANT}.s)
if(NOT DEFINED LD_FILE_GNU)
- set(LD_FILE_GNU ${ST_CMSIS}/Source/Templates/gcc/linker/${MCU_VARIANT}_flash.ld)
+ set(LD_FILE_GNU ${ST_CMSIS}/Source/Templates/gcc/linker/${MCU_VARIANT}_axisram2_fsbl.ld)
endif()
set(LD_FILE_Clang ${LD_FILE_GNU})
if(NOT DEFINED LD_FILE_IAR)
- set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash.icf)
+ set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_axisram2_fsbl.icf)
endif()
add_library(${BOARD_TARGET} STATIC