mirror of https://github.com/ARMmbed/mbed-os.git
Fix PORTENTA_H7_xx targets
parent
6a737ac58d
commit
e8227f5be7
|
@ -1,18 +1,35 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(mbed-portenta-h7 INTERFACE)
|
||||
add_library(mbed-portenta-h7-m4 INTERFACE)
|
||||
|
||||
target_sources(mbed-portenta-h7
|
||||
target_sources(mbed-portenta-h7-m4
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock_override.c
|
||||
portenta_power.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-portenta-h7
|
||||
target_include_directories(mbed-portenta-h7-m4
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-portenta-h7 INTERFACE mbed-stm32h747xi)
|
||||
target_link_libraries(mbed-portenta-h7-m4 INTERFACE mbed-stm32h747xi-cm4)
|
||||
|
||||
|
||||
add_library(mbed-portenta-h7-m7 INTERFACE)
|
||||
|
||||
target_sources(mbed-portenta-h7-m7
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock_override.c
|
||||
portenta_power.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-portenta-h7-m7
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-portenta-h7-m7 INTERFACE mbed-stm32h747xi-cm7)
|
||||
|
|
Loading…
Reference in New Issue