Fix DISCO_L4R9I target

pull/14275/head
Robert Walton 2021-02-11 13:47:58 +00:00
parent 4c581120c5
commit 956a8790c1
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/stm32l4r9xi.sct)
endif()
add_library(mbed-stm32l4r9xI INTERFACE)
add_library(mbed-stm32l4r9xi INTERFACE)
target_sources(mbed-stm32l4r9xI
target_sources(mbed-stm32l4r9xi
INTERFACE
system_clock.c
${STARTUP_FILE}
)
target_include_directories(mbed-stm32l4r9xI
target_include_directories(mbed-stm32l4r9xi
INTERFACE
.
)
mbed_set_linker_script(mbed-stm32l4r9xI ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
mbed_set_linker_script(mbed-stm32l4r9xi ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
target_link_libraries(mbed-stm32l4r9xI INTERFACE mbed-stm32l4)
target_link_libraries(mbed-stm32l4r9xi INTERFACE mbed-stm32l4)