Skip to content

Commit 11a445b

Browse files
committed
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
The linker file for the GCC_ARM toolchain was not correctly listed.
1 parent 2660621 commit 11a445b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32F0/TARGET_STM32F091xC/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_subdirectory(TARGET_NUCLEO_F091RC EXCLUDE_FROM_ALL)
55

66
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
77
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32f091xc.S)
8-
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32f091xc.ld)
8+
set(LINKER_FILE TOOLCHAIN_GCC_ARM/STM32F091XC.ld)
99
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1010
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32f091xc.S)
1111
set(LINKER_FILE TOOLCHAIN_ARM/stm32f091xc.sct)

0 commit comments

Comments
 (0)