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
1212 INTERFACE
1313 .
1414)
15+
16+ target_link_libraries (mbed-nucleo-g431kb INTERFACE mbed-stm32g431xb)
Original file line number Diff line number Diff line change 11# Copyright (c) 2020 ARM Limited. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33
4+ add_subdirectory (TARGET_STM32H747xI_CM4 EXCLUDE_FROM_ALL )
5+ add_subdirectory (TARGET_STM32H747xI_CM7 EXCLUDE_FROM_ALL )
46add_subdirectory (TARGET_DISCO_H747I EXCLUDE_FROM_ALL )
57add_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 )
88
99add_library (mbed-stm32h747xi INTERFACE )
1010
Original file line number Diff line number Diff line change @@ -13,10 +13,34 @@ target_include_directories(mbed-disco-h747i
1313 .
1414)
1515
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+
1718
1819add_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+
2033
2134add_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 11# Copyright (c) 2020 ARM Limited. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33
4- add_library (mbed-portenta-h7 INTERFACE )
4+ add_library (mbed-portenta-h7-m4 INTERFACE )
55
6- target_sources (mbed-portenta-h7
6+ target_sources (mbed-portenta-h7-m4
77 INTERFACE
88 PeripheralPins.c
99 system_clock_override.c
1010 portenta_power.cpp
1111)
1212
13- target_include_directories (mbed-portenta-h7
13+ target_include_directories (mbed-portenta-h7-m4
1414 INTERFACE
1515 .
1616)
1717
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)
55
66if (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
77 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)
99elseif (${MBED_TOOLCHAIN} STREQUAL "ARM" )
1010 set (STARTUP_FILE TOOLCHAIN_ARM/startup_stm32l073xx.S)
1111 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
1414)
1515
1616target_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