File tree Expand file tree Collapse file tree 4 files changed +13
-44
lines changed
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F413xH
TARGET_MTS_DRAGONFLY_F413RH Expand file tree Collapse file tree 4 files changed +13
-44
lines changed Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44if ("DISCO_F413ZH" IN_LIST MBED_TARGET_LABELS)
5- add_subdirectory (TARGET_DISCO_F413ZH)
5+ target_include_directories (mbed-core INTERFACE TARGET_DISCO_F413ZH)
6+ set (PERIPHERALPINS_FILE TARGET_DISCO_F413ZH/PeripheralPins.c)
7+ set (SYSTEM_CLOCK_FILE TARGET_DISCO_F413ZH/system_clock.c)
68elseif ("MTS_DRAGONFLY_F413RH" IN_LIST MBED_TARGET_LABELS)
7- add_subdirectory (TARGET_MTS_DRAGONFLY_F413RH)
9+ target_include_directories (mbed-core INTERFACE TARGET_MTS_DRAGONFLY_F413RH)
10+ set (PERIPHERALPINS_FILE TARGET_MTS_DRAGONFLY_F413RH/PeripheralPins.c)
11+ set (SYSTEM_CLOCK_FILE TARGET_MTS_DRAGONFLY_F413RH/system_clock.c)
12+
13+ target_sources (mbed-core INTERFACE TARGET_MTS_DRAGONFLY_F413RH/ONBOARD_TELIT_HE910.cpp)
814elseif ("NUCLEO_F413ZH" IN_LIST MBED_TARGET_LABELS)
9- add_subdirectory (TARGET_NUCLEO_F413ZH)
15+ target_include_directories (mbed-core INTERFACE TARGET_NUCLEO_F413ZH)
16+ set (PERIPHERALPINS_FILE TARGET_NUCLEO_F413ZH/PeripheralPins.c)
17+ set (SYSTEM_CLOCK_FILE TARGET_NUCLEO_F413ZH/system_clock.c)
1018endif ()
1119
1220if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
@@ -21,8 +29,9 @@ set_property(GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}
2129
2230target_sources (mbed-core
2331 INTERFACE
24- system_clock.c
32+ ${PERIPHERALPINS_FILE}
2533 ${STARTUP_FILE}
34+ ${SYSTEM_CLOCK_FILE}
2635)
2736
2837target_include_directories (mbed-core
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments