mirror of https://github.com/ARMmbed/mbed-os.git
Fix DISCO_L4R9I target
parent
4c581120c5
commit
956a8790c1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue