Fix DISCO_H747I_xx targets

pull/14266/head
Robert Walton 2021-02-10 11:34:28 +00:00
parent a297a6145e
commit 6a737ac58d
2 changed files with 29 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(TARGET_STM32H747xI_CM4 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32H747xI_CM7 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_DISCO_H747I EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_PORTENTA_H7 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32H747xI_CM7 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_STM32H747xI_CM4 EXCLUDE_FROM_ALL)
add_library(mbed-stm32h747xi INTERFACE)

View File

@ -13,10 +13,34 @@ target_include_directories(mbed-disco-h747i
.
)
target_link_libraries(mbed-disco-h747i INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7)
target_link_libraries(mbed-disco-h747i INTERFACE mbed-stm32h747xi-cm7)
add_library(mbed-disco-h747i-cm7 INTERFACE)
target_link_libraries(mbed-disco-h747i-cm7 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7)
target_sources(mbed-disco-h747i-cm7
INTERFACE
PeripheralPins.c
)
target_include_directories(mbed-disco-h747i-cm7
INTERFACE
.
)
target_link_libraries(mbed-disco-h747i-cm7 INTERFACE mbed-stm32h747xi-cm7)
add_library(mbed-disco-h747i-cm4 INTERFACE)
target_link_libraries(mbed-disco-h747i-cm4 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm4)
target_sources(mbed-disco-h747i-cm4
INTERFACE
PeripheralPins.c
)
target_include_directories(mbed-disco-h747i-cm4
INTERFACE
.
)
target_link_libraries(mbed-disco-h747i-cm4 INTERFACE mbed-stm32h747xi-cm4)