fix linker h745 issue with clang

This commit is contained in:
hathach
2025-09-04 15:07:27 +07:00
parent 7625b86d4b
commit d69d41aa6b
3 changed files with 186 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
set(MCU_VARIANT stm32h745xx)
set(JLINK_DEVICE stm32h745xi_m7)
set(LD_FILE_GNU ${ST_CMSIS}/Source/Templates/gcc/linker/${MCU_VARIANT}_flash_CM7.ld)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/../../linker/${MCU_VARIANT}_flash_CM7.ld)
set(LD_FILE_IAR ${ST_CMSIS}/Source/Templates/iar/linker/${MCU_VARIANT}_flash_CM7.icf)
function(update_board TARGET)