forked from ARMmbed/mbed-os
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Completes ARMmbed#13915
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
target_sources(mbed-core | ||
INTERFACE | ||
PeripheralPins.c | ||
system_clock_override.c | ||
portenta_power.cpp | ||
) | ||
|
||
target_include_directories(mbed-core | ||
INTERFACE | ||
. | ||
) | ||
|
18 changes: 18 additions & 0 deletions
18
targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M4/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32h747xx.S) | ||
set(LINKER_FILE TOOLCHAIN_GCC_ARM/STM32H747xI.ld) | ||
|
||
set_property(GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE}) | ||
|
||
target_sources(mbed-core | ||
INTERFACE | ||
${STARTUP_FILE} | ||
) | ||
|
||
target_include_directories(mbed-core | ||
INTERFACE | ||
. | ||
) | ||
|
18 changes: 18 additions & 0 deletions
18
targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7_M7/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set(STARTUP_FILE TOOLCHAIN_GCC_ARM/startup_stm32h747xx.S) | ||
set(LINKER_FILE TOOLCHAIN_GCC_ARM/STM32H747xI.ld) | ||
|
||
set_property(GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE}) | ||
|
||
target_sources(mbed-core | ||
INTERFACE | ||
${STARTUP_FILE} | ||
) | ||
|
||
target_include_directories(mbed-core | ||
INTERFACE | ||
. | ||
) | ||
|