File tree Expand file tree Collapse file tree 6 files changed +57
-10
lines changed
TARGET_STM32G4/TARGET_STM32G431xB/TARGET_NUCLEO_G431KB
TARGET_STM32H7/TARGET_STM32H747xI
TARGET_STM32L0/TARGET_STM32L073xZ
TARGET_STM32L4/TARGET_STM32L4R5xI/TARGET_NUCLEO_L4R5ZI Expand file tree Collapse file tree 6 files changed +57
-10
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ target_include_directories(mbed-nucleo-g431kb
12
12
INTERFACE
13
13
.
14
14
)
15
+
16
+ target_link_libraries (mbed-nucleo-g431kb INTERFACE mbed-stm32g431xb )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ add_subdirectory (TARGET_STM32H747xI_CM4 EXCLUDE_FROM_ALL )
5
+ add_subdirectory (TARGET_STM32H747xI_CM7 EXCLUDE_FROM_ALL )
4
6
add_subdirectory (TARGET_DISCO_H747I EXCLUDE_FROM_ALL )
5
7
add_subdirectory (TARGET_PORTENTA_H7 EXCLUDE_FROM_ALL )
6
- add_subdirectory (TARGET_STM32H747xI_CM7 EXCLUDE_FROM_ALL )
7
- add_subdirectory (TARGET_STM32H747xI_CM4 EXCLUDE_FROM_ALL )
8
8
9
9
add_library (mbed-stm32h747xi INTERFACE )
10
10
Original file line number Diff line number Diff line change @@ -13,10 +13,34 @@ target_include_directories(mbed-disco-h747i
13
13
.
14
14
)
15
15
16
- target_link_libraries (mbed-disco-h747i INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7 )
16
+ target_link_libraries (mbed-disco-h747i INTERFACE mbed-stm32h747xi-cm7 )
17
+
17
18
18
19
add_library (mbed-disco-h747i-cm7 INTERFACE )
19
- target_link_libraries (mbed-disco-h747i-cm7 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7 )
20
+
21
+ target_sources (mbed-disco-h747i-cm7
22
+ INTERFACE
23
+ PeripheralPins.c
24
+ )
25
+
26
+ target_include_directories (mbed-disco-h747i-cm7
27
+ INTERFACE
28
+ .
29
+ )
30
+
31
+ target_link_libraries (mbed-disco-h747i-cm7 INTERFACE mbed-stm32h747xi-cm7 )
32
+
20
33
21
34
add_library (mbed-disco-h747i-cm4 INTERFACE )
22
- target_link_libraries (mbed-disco-h747i-cm4 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm4 )
35
+
36
+ target_sources (mbed-disco-h747i-cm4
37
+ INTERFACE
38
+ PeripheralPins.c
39
+ )
40
+
41
+ target_include_directories (mbed-disco-h747i-cm4
42
+ INTERFACE
43
+ .
44
+ )
45
+
46
+ target_link_libraries (mbed-disco-h747i-cm4 INTERFACE mbed-stm32h747xi-cm4 )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- add_library (mbed-portenta-h7 INTERFACE )
4
+ add_library (mbed-portenta-h7-m4 INTERFACE )
5
5
6
- target_sources (mbed-portenta-h7
6
+ target_sources (mbed-portenta-h7-m4
7
7
INTERFACE
8
8
PeripheralPins.c
9
9
system_clock_override.c
10
10
portenta_power.cpp
11
11
)
12
12
13
- target_include_directories (mbed-portenta-h7
13
+ target_include_directories (mbed-portenta-h7-m4
14
14
INTERFACE
15
15
.
16
16
)
17
17
18
- target_link_libraries (mbed-portenta-h7 INTERFACE mbed-stm32h747xi )
18
+ target_link_libraries (mbed-portenta-h7-m4 INTERFACE mbed-stm32h747xi-cm4 )
19
+
20
+
21
+ add_library (mbed-portenta-h7-m7 INTERFACE )
22
+
23
+ target_sources (mbed-portenta-h7-m7
24
+ INTERFACE
25
+ PeripheralPins.c
26
+ system_clock_override.c
27
+ portenta_power.cpp
28
+ )
29
+
30
+ target_include_directories (mbed-portenta-h7-m7
31
+ INTERFACE
32
+ .
33
+ )
34
+
35
+ target_link_libraries (mbed-portenta-h7-m7 INTERFACE mbed-stm32h747xi-cm7 )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ add_subdirectory(TARGET_NUCLEO_L073RZ EXCLUDE_FROM_ALL)
5
5
6
6
if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
7
7
set (STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32l073xx.S )
8
- set (LINKER_FILE TOOLCHAIN_GCC_ARM/stm32l073xz .ld )
8
+ set (LINKER_FILE TOOLCHAIN_GCC_ARM/STM32L073XZ .ld )
9
9
elseif (${MBED_TOOLCHAIN} STREQUAL "ARM" )
10
10
set (STARTUP_FILE TOOLCHAIN_ARM/startup_stm32l073xx.S )
11
11
set (LINKER_FILE TOOLCHAIN_ARM/stm32l073xz.sct )
Original file line number Diff line number Diff line change @@ -14,3 +14,7 @@ target_include_directories(mbed-nucleo-l4r5zi
14
14
)
15
15
16
16
target_link_libraries (mbed-nucleo-l4r5zi INTERFACE mbed-stm32l4r5xi )
17
+
18
+
19
+ add_library (mbed-nucleo-l4r5zi-p INTERFACE )
20
+ target_link_libraries (mbed-nucleo-l4r5zi-p INTERFACE mbed-nucleo-l4r5zi )
You can’t perform that action at this time.
0 commit comments