mirror of https://github.com/ARMmbed/mbed-os.git
CMake STM32: fix missing mbed for some nucleo targets
parent
a6915af60d
commit
00e83ce6e2
|
@ -1,16 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f207zg INTERFACE)
|
||||
add_library(mbed-nucleo-f207zg INTERFACE)
|
||||
|
||||
target_sources(nucleo-f207zg
|
||||
target_sources(mbed-nucleo-f207zg
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f207zg
|
||||
target_include_directories(mbed-nucleo-f207zg
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f207zg INTERFACE mbed-stm32f207xg)
|
||||
target_link_libraries(mbed-nucleo-f207zg INTERFACE mbed-stm32f207xg)
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f303ze INTERFACE)
|
||||
add_library(mbed-nucleo-f303ze INTERFACE)
|
||||
|
||||
target_sources(nucleo-f303ze
|
||||
target_sources(mbed-nucleo-f303ze
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f303ze
|
||||
target_include_directories(mbed-nucleo-f303ze
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f303ze INTERFACE mbed-stm32f303xe)
|
||||
target_link_libraries(mbed-nucleo-f303ze INTERFACE mbed-stm32f303xe)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f401re INTERFACE)
|
||||
add_library(mbed-nucleo-f401re INTERFACE)
|
||||
|
||||
target_include_directories(nucleo-f401re
|
||||
target_include_directories(mbed-nucleo-f401re
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(nucleo-f401re
|
||||
target_sources(mbed-nucleo-f401re
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f401re INTERFACE mbed-stm32f401xe)
|
||||
target_link_libraries(mbed-nucleo-f401re INTERFACE mbed-stm32f401xe)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f411re INTERFACE)
|
||||
add_library(mbed-nucleo-f411re INTERFACE)
|
||||
|
||||
target_sources(nucleo-f411re
|
||||
target_sources(mbed-nucleo-f411re
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f411re
|
||||
target_include_directories(mbed-nucleo-f411re
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f411re INTERFACE mbed-stm32f411xe)
|
||||
target_link_libraries(mbed-nucleo-f411re INTERFACE mbed-stm32f411xe)
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f412zg INTERFACE)
|
||||
add_library(mbed-nucleo-f412zg INTERFACE)
|
||||
|
||||
target_sources(nucleo-f412zg
|
||||
target_sources(mbed-nucleo-f412zg
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f412zg
|
||||
target_include_directories(mbed-nucleo-f412zg
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f412zg INTERFACE mbed-stm32f412xg)
|
||||
target_link_libraries(mbed-nucleo-f412zg INTERFACE mbed-stm32f412xg)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f413zh INTERFACE)
|
||||
add_library(mbed-nucleo-f413zh INTERFACE)
|
||||
|
||||
target_sources(nucleo-f413zh
|
||||
target_sources(mbed-nucleo-f413zh
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f413zh
|
||||
target_include_directories(mbed-nucleo-f413zh
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f413zh INTERFACE mbed-stm32f413xh)
|
||||
target_link_libraries(mbed-nucleo-f413zh INTERFACE mbed-stm32f413xh)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f429zi INTERFACE)
|
||||
add_library(mbed-nucleo-f429zi INTERFACE)
|
||||
|
||||
target_sources(nucleo-f429zi
|
||||
target_sources(mbed-nucleo-f429zi
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f429zi
|
||||
target_include_directories(mbed-nucleo-f429zi
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f429zi INTERFACE mbed-stm32f429xi)
|
||||
target_link_libraries(mbed-nucleo-f429zi INTERFACE mbed-stm32f429xi)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f439zi INTERFACE)
|
||||
add_library(mbed-nucleo-f439zi INTERFACE)
|
||||
|
||||
target_sources(nucleo-f439zi
|
||||
target_sources(mbed-nucleo-f439zi
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f439zi
|
||||
target_include_directories(mbed-nucleo-f439zi
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f439zi INTERFACE mbed-stm32f439xi)
|
||||
target_link_libraries(mbed-nucleo-f439zi INTERFACE mbed-stm32f439xi)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f446re INTERFACE)
|
||||
add_library(mbed-nucleo-f446re INTERFACE)
|
||||
|
||||
target_sources(nucleo-f446re
|
||||
target_sources(mbed-nucleo-f446re
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f446re
|
||||
target_include_directories(mbed-nucleo-f446re
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f446re INTERFACE mbed-stm32f446xe)
|
||||
target_link_libraries(mbed-nucleo-f446re INTERFACE mbed-stm32f446xe)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f446ze INTERFACE)
|
||||
add_library(mbed-nucleo-f446ze INTERFACE)
|
||||
|
||||
target_sources(nucleo-f446ze
|
||||
target_sources(mbed-nucleo-f446ze
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f446ze
|
||||
target_include_directories(mbed-nucleo-f446ze
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f446ze INTERFACE mbed-stm32f446xe)
|
||||
target_link_libraries(mbed-nucleo-f446ze INTERFACE mbed-stm32f446xe)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f746zg INTERFACE)
|
||||
add_library(mbed-nucleo-f746zg INTERFACE)
|
||||
|
||||
target_sources(nucleo-f746zg
|
||||
target_sources(mbed-nucleo-f746zg
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f746zg
|
||||
target_include_directories(mbed-nucleo-f746zg
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f746zg INTERFACE mbed-stm32f746xg)
|
||||
target_link_libraries(mbed-nucleo-f746zg INTERFACE mbed-stm32f746xg)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f756zg INTERFACE)
|
||||
add_library(mbed-nucleo-f756zg INTERFACE)
|
||||
|
||||
target_sources(nucleo-f756zg
|
||||
target_sources(mbed-nucleo-f756zg
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f756zg
|
||||
target_include_directories(mbed-nucleo-f756zg
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f756zg INTERFACE mbed-stm32f756xg)
|
||||
target_link_libraries(mbed-nucleo-f756zg INTERFACE mbed-stm32f756xg)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_library(nucleo-f767zi INTERFACE)
|
||||
add_library(mbed-nucleo-f767zi INTERFACE)
|
||||
|
||||
target_sources(nucleo-f767zi
|
||||
target_sources(mbed-nucleo-f767zi
|
||||
INTERFACE
|
||||
PeripheralPins.c
|
||||
system_clock.c
|
||||
)
|
||||
|
||||
target_include_directories(nucleo-f767zi
|
||||
target_include_directories(mbed-nucleo-f767zi
|
||||
INTERFACE
|
||||
.
|
||||
)
|
||||
|
||||
target_link_libraries(nucleo-f767zi INTERFACE mbed-stm32f767xi)
|
||||
target_link_libraries(mbed-nucleo-f767zi INTERFACE mbed-stm32f767xi)
|
||||
|
|
Loading…
Reference in New Issue