Skip to content

Commit 6a737ac

Browse files
committed
Fix DISCO_H747I_xx targets
1 parent a297a61 commit 6a737ac

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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)
46
add_subdirectory(TARGET_DISCO_H747I EXCLUDE_FROM_ALL)
57
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)
88

99
add_library(mbed-stm32h747xi INTERFACE)
1010

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/CMakeLists.txt

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff 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

1819
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+
2033

2134
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)

0 commit comments

Comments
 (0)