Skip to content

Commit ab7067d

Browse files
committed
CMake Analog Devices: fix names after refactor
1 parent 8f1840e commit ab7067d

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

targets/TARGET_Analog_Devices/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
add_subdirectory(TARGET_ADUCM302X EXCLUDE_FROM_ALL)
55
add_subdirectory(TARGET_ADUCM4X50 EXCLUDE_FROM_ALL)
66

7-
add_library(Analog_Devices INTERFACE)
7+
add_library(mbed-analog-devices INTERFACE)
88

9-
target_include_directories(Analog_Devices
9+
target_include_directories(mbed-analog-devices
1010
INTERFACE
1111
.
1212
)

targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
add_subdirectory(TARGET_EV_COG_AD3029LZ EXCLUDE_FROM_ALL)
55

6-
add_library(ADUCM3029 INTERFACE)
6+
add_library(mbed-aducm3029 INTERFACE)
77

88
if(${MBED_TOOLCHAIN} STREQUAL "ARM")
99
set(LINKER_FILE TOOLCHAIN_ARM_STD/ADuCM3029.sct)
1010
elseif(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
1111
set(LINKER_FILE TOOLCHAIN_GCC_ARM/ADuCM3029.ld)
1212
endif()
1313

14-
mbed_set_linker_script(ADUCM3029 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
14+
mbed_set_linker_script(mbed-aducm3029 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
1515

16-
target_include_directories(ADUCM3029
16+
target_include_directories(mbed-aducm3029
1717
INTERFACE
1818
api
1919
bsp
@@ -54,7 +54,7 @@ target_include_directories(ADUCM3029
5454
bsp/xint
5555
)
5656

57-
target_sources(ADUCM3029
57+
target_sources(mbed-aducm3029
5858
INTERFACE
5959
api/analogin_api.c
6060
api/flash_api.c
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Copyright (c) 2020 ARM Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
add_library(EV_COG_AD3029LZ INTERFACE)
4+
add_library(mbed-ev-cog-ad3029lz INTERFACE)
55

6-
target_include_directories(EV_COG_AD3029LZ
6+
target_include_directories(mbed-ev-cog-ad3029lz
77
INTERFACE
88
.
99
device
1010
)
1111

12-
target_sources(EV_COG_AD3029LZ
12+
target_sources(mbed-ev-cog-ad3029lz
1313
INTERFACE
1414
device/system_ADuCM3029.c
1515
device/startup_ADuCM3029.c
1616
)
1717

18-
target_link_libraries(EV_COG_AD3029LZ INTERFACE Analog_Devices ADUCM3029)
18+
target_link_libraries(mbed-ev-cog-ad3029lz INTERFACE mbed-analog-devices mbed-aducm3029)

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
add_subdirectory(TARGET_EV_COG_AD4050LZ EXCLUDE_FROM_ALL)
55

6-
add_library(ADUCM4050 INTERFACE)
6+
add_library(mbed-aducm4050 INTERFACE)
77

88
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
99
set(LINKER_FILE TOOLCHAIN_GCC_ARM/ADuCM4050.ld)
1010
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1111
set(LINKER_FILE TOOLCHAIN_ARM_STD/ADuCM4050.sct)
1212
endif()
1313

14-
mbed_set_linker_script(ADUCM4050 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
14+
mbed_set_linker_script(mbed-aducm4050 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
1515

16-
target_include_directories(ADUCM4050
16+
target_include_directories(mbed-aducm4050
1717
INTERFACE
1818
api
1919
bsp
@@ -54,7 +54,7 @@ target_include_directories(ADUCM4050
5454
bsp/xint
5555
)
5656

57-
target_sources(ADUCM4050
57+
target_sources(mbed-aducm4050
5858
INTERFACE
5959
api/analogin_api.c
6060
api/flash_api.c
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(EV_COG_AD4050LZ INTERFACE)
4+
add_library(mbed-ev-cog-ad4050lz INTERFACE)
55

6-
target_include_directories(EV_COG_AD4050LZ
6+
target_include_directories(mbed-ev-cog-ad4050lz
77
INTERFACE
88
.
99
device
1010
)
1111

12-
target_sources(EV_COG_AD4050LZ
12+
target_sources(mbed-ev-cog-ad4050lz
1313
INTERFACE
1414
device/system_ADuCM4050.c
1515
device/startup_ADuCM4050.c
1616
)
1717

18-
target_link_libraries(EV_COG_AD4050LZ INTERFACE Analog_Devices ADUCM4050)
18+
target_link_libraries(mbed-ev-cog-ad4050lz INTERFACE mbed-analog-devices mbed-aducm4050)

0 commit comments

Comments
 (0)