Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(LINKER_FILE TOOLCHAIN_ARM/stm32f103xe.sct)
endif()

add_library(STM32F103xE INTERFACE)
add_library(mbed-stm32f103xe INTERFACE)

target_sources(STM32F103xE
target_sources(mbed-stm32f103xe
INTERFACE
system_clock.c
${STARTUP_FILE}
)

target_include_directories(STM32F103xE
target_include_directories(mbed-stm32f103xe
INTERFACE
.
)

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

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