Skip to content

Commit 5899dd0

Browse files
Fix path to GCC linker scripts
The linux filesystem is case sensitive, this was causing our nightly build to fail when attempting to find the script with its lower case name. The name of the file has been kept the same as this seems to be STMs convention.
1 parent 2660621 commit 5899dd0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32F0/TARGET_STM32F070xB/CMakeLists.txt

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

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

targets/TARGET_STM/TARGET_STM32F0/TARGET_STM32F072xB/CMakeLists.txt

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

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

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)