cmake: STM32H7: enable PORTENTA* target

pull/13826/head
Martino Facchin 2021-01-04 17:33:39 +01:00
parent 26f758d83c
commit 62b6cc9a05
3 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,8 @@
if("DISCO_H747I" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_DISCO_H747I)
elseif("PORTENTA_H7" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_PORTENTA_H7)
elseif("NUCLEO_H743ZI" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_NUCLEO_H743ZI)
elseif("NUCLEO_H743ZI2" IN_LIST MBED_TARGET_LABELS)

View File

@ -0,0 +1,7 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
target_sources(mbed-emac
INTERFACE
stm32h7_eth_init.c
)

View File

@ -3,6 +3,8 @@
if("DISCO_H747I" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_DISCO_H747I)
elseif("PORTENTA_H7" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_PORTENTA_H7)
elseif("STM32H7A3xIQ" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32H7A3xIQ)
endif()