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 2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
4
if ("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 )
6
8
elseif ("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 )
8
14
elseif ("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 )
10
18
endif ()
11
19
12
20
if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
@@ -21,8 +29,9 @@ set_property(GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}
21
29
22
30
target_sources (mbed-core
23
31
INTERFACE
24
- system_clock.c
32
+ ${PERIPHERALPINS_FILE}
25
33
${STARTUP_FILE}
34
+ ${SYSTEM_CLOCK_FILE}
26
35
)
27
36
28
37
target_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