Skip to content

Commit

Permalink
Merge pull request #14318 from harmut01/example_build_errors
Browse files Browse the repository at this point in the history
CMake: Fix path to STM32F0 GCC linker scripts
  • Loading branch information
0xc0170 authored Feb 23, 2021
2 parents 14a5c79 + 5899dd0 commit da51cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_subdirectory(TARGET_NUCLEO_F070RB EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32f070xb.S)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32f070xb.ld)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/STM32F070XB.ld)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32f070xb.S)
set(LINKER_FILE TOOLCHAIN_ARM/stm32f070xb.sct)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_subdirectory(TARGET_NUCLEO_F072RB EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32f072xb.S)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/stm32f072xb.ld)
set(LINKER_FILE TOOLCHAIN_GCC_ARM/STM32F072XB.ld)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(STARTUP_FILE TOOLCHAIN_ARM/startup_stm32f072xb.S)
set(LINKER_FILE TOOLCHAIN_ARM/stm32f072xb.sct)
Expand Down

0 comments on commit da51cb2

Please sign in to comment.