Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix messed up CMake targets for NUCLEO_H745ZI_Q #363

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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