Skip to content

Commit 468b669

Browse files
committed
CMake: STM32 TARGET_ prefix removal fix
1 parent 907868d commit 468b669

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

targets/TARGET_STM/TARGET_STM32F3/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
if("STM32F302x8" IN_LIST MBED_TARGET_LABELS)
55
add_subdirectory(TARGET_STM32F302x8)
6-
elseif("TARGET_STM32F303x8" IN_LIST MBED_TARGET_LABELS)
6+
elseif("STM32F303x8" IN_LIST MBED_TARGET_LABELS)
77
add_subdirectory(TARGET_TARGET_STM32F303x8)
88
elseif("STM32F303xC" IN_LIST MBED_TARGET_LABELS)
99
add_subdirectory(TARGET_STM32F303xC)

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L486xG/CMakeLists.txt

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

4-
if("TARGET_ADV_WISE_1570" IN_LIST MBED_TARGET_LABELS)
4+
if("ADV_WISE_1570" IN_LIST MBED_TARGET_LABELS)
55
add_subdirectory(TARGET_ADV_WISE_1570)
6-
elseif("TARGET_NUCLEO_L486RG" IN_LIST MBED_TARGET_LABELS)
6+
elseif("NUCLEO_L486RG" IN_LIST MBED_TARGET_LABELS)
77
add_subdirectory(TARGET_NUCLEO_L486RG)
88
endif()
99

targets/TARGET_STM/TARGET_STM32L5/CMakeLists.txt

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

4-
if("TARGET_STM32L552xC" IN_LIST MBED_TARGET_LABELS)
4+
if("STM32L552xC" IN_LIST MBED_TARGET_LABELS)
55
add_subdirectory(TARGET_STM32L552xC)
6-
elseif("TARGET_STM32L552xE" IN_LIST MBED_TARGET_LABELS)
6+
elseif("STM32L552xE" IN_LIST MBED_TARGET_LABELS)
77
add_subdirectory(TARGET_STM32L552xE)
8-
elseif("TARGET_STM32L562xE" IN_LIST MBED_TARGET_LABELS)
8+
elseif("STM32L562xE" IN_LIST MBED_TARGET_LABELS)
99
add_subdirectory(TARGET_STM32L562xE)
1010
endif()
1111

0 commit comments

Comments
 (0)