Skip to content

Commit ef98060

Browse files
committed
CMake STM32: fix missed targets with prefix
1 parent 00e83ce commit ef98060

File tree

8 files changed

+30
-30
lines changed

8 files changed

+30
-30
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-f303re INTERFACE)
4+
add_library(mbed-nucleo-f303re INTERFACE)
55

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

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

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

4-
add_library(wio-3g INTERFACE)
4+
add_library(mbed-wio-3g INTERFACE)
55

6-
target_sources(wio-3g
6+
target_sources(mbed-wio-3g
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
ONBOARD_QUECTEL_UG96.cpp
1111
)
1212

13-
target_include_directories(wio-3g
13+
target_include_directories(mbed-wio-3g
1414
INTERFACE
1515
.
1616
)
1717

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

4-
add_library(wio-bg96 INTERFACE)
4+
add_library(mbed-wio-bg96 INTERFACE)
55

6-
target_sources(wio-bg96
6+
target_sources(mbed-wio-bg96
77
INTERFACE
88
PeripheralPins.c
99
system_clock.c
1010
ONBOARD_QUECTEL_BG96.cpp
1111
)
1212

13-
target_include_directories(wio-bg96
13+
target_include_directories(mbed-wio-bg96
1414
INTERFACE
1515
.
1616
)
1717

18-
target_link_libraries(wio-bg96 INTERFACE mbed-stm32f439xi)
18+
target_link_libraries(mbed-wio-bg96 INTERFACE mbed-stm32f439xi)
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(sdp-k1 INTERFACE)
4+
add_library(mbed-sdp-k1 INTERFACE)
55

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

12-
target_include_directories(sdp-k1
12+
target_include_directories(mbed-sdp-k1
1313
INTERFACE
1414
.
1515
)
16-
target_link_libraries(sdp-k1 INTERFACE mbed-stm32f469xi)
16+
target_link_libraries(mbed-sdp-k1 INTERFACE mbed-stm32f469xi)

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H7A3xIQ/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1111
set(LINKER_FILE TOOLCHAIN_ARM/stm32h7a3xxq.sct)
1212
endif()
1313

14-
add_library(mbed-stm32h7A3xiq INTERFACE)
14+
add_library(mbed-stm32h7a3xiq INTERFACE)
1515

16-
target_sources(mbed-stm32h7A3xiq
16+
target_sources(mbed-stm32h7a3xiq
1717
INTERFACE
1818
system_clock.c
1919
${STARTUP_FILE}
2020
)
2121

22-
target_include_directories(mbed-stm32h7A3xiq
22+
target_include_directories(mbed-stm32h7a3xiq
2323
INTERFACE
2424
.
2525
)
2626

27-
mbed_set_linker_script(mbed-stm32h7A3xiq ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
27+
mbed_set_linker_script(mbed-stm32h7a3xiq ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
2828

29-
target_link_libraries(mbed-stm32h7A3xiq INTERFACE mbed-stm32h7)
29+
target_link_libraries(mbed-stm32h7a3xiq INTERFACE mbed-stm32h7)

targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
99
set(LINKER_FILE device/TOOLCHAIN_ARM/stm32l151rc.sct)
1010
endif()
1111

12-
add_library(xdot-l151cc INTERFACE)
12+
add_library(mbed-xdot-l151cc INTERFACE)
1313

14-
target_sources(xdot-l151cc
14+
target_sources(mbed-xdot-l151cc
1515
INTERFACE
1616
PeripheralPins.c
1717
device/system_clock.c
@@ -20,12 +20,12 @@ target_sources(xdot-l151cc
2020
${STARTUP_FILE}
2121
)
2222

23-
target_include_directories(xdot-l151cc
23+
target_include_directories(mbed-xdot-l151cc
2424
INTERFACE
2525
.
2626
device
2727
)
2828

29-
mbed_set_linker_script(xdot-l151cc ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
29+
mbed_set_linker_script(mbed-xdot-l151cc ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
3030

31-
target_link_libraries(xdot-l151cc INTERFACE mbed-stm32l1)
31+
target_link_libraries(mbed-xdot-l151cc INTERFACE mbed-stm32l1)

targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ target_sources(mbed-stm32l4xx-hal-driver
114114
stm32l4xx_ll_utils.c
115115
)
116116
add_subdirectory(Legacy EXCLUDE_FROM_ALL)
117-
target_link_libraries(mbed-stm32l4xx-hal-driver INTERFACE mbed-stm32l4xxlegacy-hal-driver)
117+
target_link_libraries(mbed-stm32l4xx-hal-driver INTERFACE mbed-stm32l4xx-legacy-hal-driver)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(mbed-stm32l4xxlegacy-hal-driver INTERFACE)
4+
add_library(mbed-stm32l4xx-legacy-hal-driver INTERFACE)
55

6-
target_include_directories(mbed-stm32l4xxlegacy-hal-driver
6+
target_include_directories(mbed-stm32l4xx-legacy-hal-driver
77
INTERFACE
88
.
99
)
1010

11-
target_sources(mbed-stm32l4xxlegacy-hal-driver
11+
target_sources(mbed-stm32l4xx-legacy-hal-driver
1212
INTERFACE
1313
stm32l4xx_hal_can_legacy.c
1414
)

0 commit comments

Comments
 (0)