Fix STM32F103xB target

pull/14275/head
Robert Walton 2021-02-11 14:31:49 +00:00
parent c82c897e2b
commit ed4027edf0
1 changed files with 5 additions and 5 deletions

View File

@ -11,19 +11,19 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(LINKER_FILE TOOLCHAIN_ARM/stm32f103xb.sct)
endif()
add_library(mbed-stm32f103xB INTERFACE)
add_library(mbed-stm32f103xb INTERFACE)
target_sources(mbed-stm32f103xB
target_sources(mbed-stm32f103xb
INTERFACE
system_clock.c
${STARTUP_FILE}
)
target_include_directories(mbed-stm32f103xB
target_include_directories(mbed-stm32f103xb
INTERFACE
.
)
mbed_set_linker_script(mbed-stm32f103xB ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
mbed_set_linker_script(mbed-stm32f103xb ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
target_link_libraries(mbed-stm32f103xB INTERFACE mbed-stm32f1)
target_link_libraries(mbed-stm32f103xb INTERFACE mbed-stm32f1)