mirror of https://github.com/ARMmbed/mbed-os.git
Fix messed up CMake targets for NUCLEO_H745ZI_Q (#363)
parent
f5417f7bed
commit
d5278aa9c3
|
@ -1,9 +1,10 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(TARGET_STM32H745xI_CM4 EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(TARGET_STM32H745xI_CM7 EXCLUDE_FROM_ALL)
|
||||
|
||||
add_library(mbed-stm32h745xi INTERFACE)
|
||||
|
||||
target_link_libraries(mbed-stm32h745xi INTERFACE mbed-stm32h7)
|
||||
|
||||
add_subdirectory(TARGET_STM32H745xI_CM7 EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(TARGET_STM32H745xI_CM4 EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(TARGET_NUCLEO_H745ZI_Q EXCLUDE_FROM_ALL)
|
||||
|
|
|
@ -8,39 +8,12 @@ target_sources(mbed-nucleo-h745zi-q
|
|||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-nucleo-h745i
|
||||
target_include_directories(mbed-nucleo-h745zi-q
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-nucleo-h745zi-q INTERFACE mbed-stm32h745xi-cm7)
|
||||
|
||||
|
||||
add_library(mbed-nucleo-h745i-cm7 INTERFACE)
|
||||
|
||||
target_sources(mbed-nucleo-h745i-cm7
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-nucleo-h745zi-cm7
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-nucleo-h745zi-cm7 INTERFACE mbed-stm32h745xi-cm7)
|
||||
|
||||
|
||||
add_library(mbed-nucleo-h745zi-cm4 INTERFACE)
|
||||
|
||||
target_sources(mbed-nucleo-h745zi-cm4
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-nucleo-h745i-cm4
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-nucleo-h745zi-cm4 INTERFACE mbed-stm32h745xi-cm4)
|
||||
add_library(mbed-nucleo-h745zi-q-cm7 ALIAS mbed-nucleo-h745zi-q)
|
||||
add_library(mbed-nucleo-h745zi-q-cm4 ALIAS mbed-nucleo-h745zi-q)
|
Loading…
Reference in New Issue