Skip to content

Commit e8227f5

Browse files
committed
Fix PORTENTA_H7_xx targets
1 parent 6a737ac commit e8227f5

File tree

1 file changed

+21
-4
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7

1 file changed

+21
-4
lines changed
Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
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)

0 commit comments

Comments
 (0)