Skip to content

Commit 00e83ce

Browse files
committed
CMake STM32: fix missing mbed for some nucleo targets
1 parent a6915af commit 00e83ce

File tree

13 files changed

+52
-52
lines changed

13 files changed

+52
-52
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f207zg INTERFACE)
4+
add_library(mbed-nucleo-f207zg INTERFACE)
55

6-
target_sources(nucleo-f207zg
6+
target_sources(mbed-nucleo-f207zg
77
INTERFACE
88
PeripheralPins.c
99
)
1010

11-
target_include_directories(nucleo-f207zg
11+
target_include_directories(mbed-nucleo-f207zg
1212
INTERFACE
1313
.
1414
)
1515

16-
target_link_libraries(nucleo-f207zg INTERFACE mbed-stm32f207xg)
16+
target_link_libraries(mbed-nucleo-f207zg INTERFACE mbed-stm32f207xg)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f303ze INTERFACE)
4+
add_library(mbed-nucleo-f303ze INTERFACE)
55

6-
target_sources(nucleo-f303ze
6+
target_sources(mbed-nucleo-f303ze
77
INTERFACE
88
PeripheralPins.c
99
)
1010

11-
target_include_directories(nucleo-f303ze
11+
target_include_directories(mbed-nucleo-f303ze
1212
INTERFACE
1313
.
1414
)
1515

16-
target_link_libraries(nucleo-f303ze INTERFACE mbed-stm32f303xe)
16+
target_link_libraries(mbed-nucleo-f303ze INTERFACE mbed-stm32f303xe)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f401re INTERFACE)
4+
add_library(mbed-nucleo-f401re INTERFACE)
55

6-
target_include_directories(nucleo-f401re
6+
target_include_directories(mbed-nucleo-f401re
77
INTERFACE
88
.
99
)
1010

11-
target_sources(nucleo-f401re
11+
target_sources(mbed-nucleo-f401re
1212
INTERFACE
1313
PeripheralPins.c
1414
system_clock.c
1515
)
1616

17-
target_link_libraries(nucleo-f401re INTERFACE mbed-stm32f401xe)
17+
target_link_libraries(mbed-nucleo-f401re INTERFACE mbed-stm32f401xe)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f411re INTERFACE)
4+
add_library(mbed-nucleo-f411re INTERFACE)
55

6-
target_sources(nucleo-f411re
6+
target_sources(mbed-nucleo-f411re
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f411re
12+
target_include_directories(mbed-nucleo-f411re
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f411re INTERFACE mbed-stm32f411xe)
17+
target_link_libraries(mbed-nucleo-f411re INTERFACE mbed-stm32f411xe)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f412zg INTERFACE)
4+
add_library(mbed-nucleo-f412zg INTERFACE)
55

6-
target_sources(nucleo-f412zg
6+
target_sources(mbed-nucleo-f412zg
77
INTERFACE
88
PeripheralPins.c
99
)
1010

11-
target_include_directories(nucleo-f412zg
11+
target_include_directories(mbed-nucleo-f412zg
1212
INTERFACE
1313
.
1414
)
1515

16-
target_link_libraries(nucleo-f412zg INTERFACE mbed-stm32f412xg)
16+
target_link_libraries(mbed-nucleo-f412zg INTERFACE mbed-stm32f412xg)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f413zh INTERFACE)
4+
add_library(mbed-nucleo-f413zh INTERFACE)
55

6-
target_sources(nucleo-f413zh
6+
target_sources(mbed-nucleo-f413zh
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f413zh
12+
target_include_directories(mbed-nucleo-f413zh
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f413zh INTERFACE mbed-stm32f413xh)
17+
target_link_libraries(mbed-nucleo-f413zh INTERFACE mbed-stm32f413xh)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f429zi INTERFACE)
4+
add_library(mbed-nucleo-f429zi INTERFACE)
55

6-
target_sources(nucleo-f429zi
6+
target_sources(mbed-nucleo-f429zi
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f429zi
12+
target_include_directories(mbed-nucleo-f429zi
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f429zi INTERFACE mbed-stm32f429xi)
17+
target_link_libraries(mbed-nucleo-f429zi INTERFACE mbed-stm32f429xi)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2021 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f439zi INTERFACE)
4+
add_library(mbed-nucleo-f439zi INTERFACE)
55

6-
target_sources(nucleo-f439zi
6+
target_sources(mbed-nucleo-f439zi
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f439zi
12+
target_include_directories(mbed-nucleo-f439zi
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f439zi INTERFACE mbed-stm32f439xi)
17+
target_link_libraries(mbed-nucleo-f439zi INTERFACE mbed-stm32f439xi)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f446re INTERFACE)
4+
add_library(mbed-nucleo-f446re INTERFACE)
55

6-
target_sources(nucleo-f446re
6+
target_sources(mbed-nucleo-f446re
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f446re
12+
target_include_directories(mbed-nucleo-f446re
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f446re INTERFACE mbed-stm32f446xe)
17+
target_link_libraries(mbed-nucleo-f446re INTERFACE mbed-stm32f446xe)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(nucleo-f446ze INTERFACE)
4+
add_library(mbed-nucleo-f446ze INTERFACE)
55

6-
target_sources(nucleo-f446ze
6+
target_sources(mbed-nucleo-f446ze
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
)
1111

12-
target_include_directories(nucleo-f446ze
12+
target_include_directories(mbed-nucleo-f446ze
1313
INTERFACE
1414
.
1515
)
1616

17-
target_link_libraries(nucleo-f446ze INTERFACE mbed-stm32f446xe)
17+
target_link_libraries(mbed-nucleo-f446ze INTERFACE mbed-stm32f446xe)

0 commit comments

Comments
 (0)