mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix DISCO_L475VG_IOT01A ARM toolchain support
Correct location of startup code and linker file.pull/13566/head
parent
37dd6d6064
commit
043cb37ff5
|
@ -5,7 +5,7 @@ function(_mbed_get_assembly_stm32f439xi)
|
|||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32f439xx.S)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
set(STARTUP_FILE TOOLCHAIN_ARM_STD/startup_stm32f439xx.S)
|
||||
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32f439xx.S)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
set(STARTUP_FILE TOOLCHAIN_IAR/startup_stm32f439xx.S)
|
||||
endif()
|
||||
|
@ -16,7 +16,7 @@ function(_mbed_set_linker_file)
|
|||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
set(LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
set(LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/TOOLCHAIN_ARM_STD/stm32f439xx.sct)
|
||||
set(LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/TOOLCHAIN_ARM/stm32f439xx.sct)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
set(LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/TOOLCHAIN_IAR/stm32f439xx_flash.icf)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue