Skip to content

Commit da73b4b

Browse files
CMake: Refactor target MCU_STM32F103xE library name
1 parent 76b2902 commit da73b4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

targets/TARGET_STM/TARGET_STM32F1/TARGET_STM32F103xE/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
99
set(LINKER_FILE TOOLCHAIN_ARM/stm32f103xe.sct)
1010
endif()
1111

12-
add_library(STM32F103xE INTERFACE)
12+
add_library(mbed-stm32f103xe INTERFACE)
1313

14-
target_sources(STM32F103xE
14+
target_sources(mbed-stm32f103xe
1515
INTERFACE
1616
system_clock.c
1717
${STARTUP_FILE}
1818
)
1919

20-
target_include_directories(STM32F103xE
20+
target_include_directories(mbed-stm32f103xe
2121
INTERFACE
2222
.
2323
)
2424

25-
mbed_set_linker_script(STM32F103xE ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
25+
mbed_set_linker_script(mbed-stm32f103xe ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
2626

27-
target_link_libraries(STM32F103xE INTERFACE STM32F1)
27+
target_link_libraries(mbed-stm32f103xe INTERFACE mbed-stm32f1)

0 commit comments

Comments
 (0)