File tree Expand file tree Collapse file tree 11 files changed +21
-21
lines changed
tests/TESTS/mbed_hal/qspi
TARGET_ADUCM302X/TARGET_ADUCM3029/TARGET_EV_COG_AD3029LZ
TARGET_ADUCM4X50/TARGET_ADUCM4050/TARGET_EV_COG_AD4050LZ
TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z Expand file tree Collapse file tree 11 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020 ARM Limited. All rights reserved.
1
+ # Copyright (c) 2020-2021 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- if ("FLASH_CMSIS_ALGO" IN_LIST MBED_TARGET_LABELS )
5
- add_subdirectory (TARGET_FLASH_CMSIS_ALGO )
6
- endif ()
4
+ add_subdirectory (TARGET_FLASH_CMSIS_ALGO EXCLUDE_FROM_ALL )
7
5
8
6
add_subdirectory (usb )
9
7
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020 ARM Limited. All rights reserved.
1
+ # Copyright (c) 2020-2021 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- target_include_directories (mbed-core
4
+ add_library (mbed-flash-cmsis-algo INTERFACE )
5
+
6
+ target_include_directories (mbed-flash-cmsis-algo
5
7
INTERFACE
6
8
.
7
9
)
8
10
9
- target_sources (mbed-core
11
+ target_sources (mbed-flash-cmsis-algo
10
12
INTERFACE
11
13
flash_common_algo.c
12
14
)
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020 ARM Limited. All rights reserved.
1
+ # Copyright (c) 2020-2021 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
4
cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR )
@@ -10,15 +10,15 @@ include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
10
10
11
11
project (${TEST_TARGET} )
12
12
13
- if ("EP_AGORA" IN_LIST MBED_TARGET_LABELS )
13
+ if (TARGET mbed-ep-agora )
14
14
set (FLASH_TARGET_CONFIG_HEADER NORDIC/EP_AGORA )
15
- elseif ("NRF52840_DK" IN_LIST MBED_TARGET_LABELS )
15
+ elseif (TARGET mbed-nrf52840-dk )
16
16
set (FLASH_TARGET_CONFIG_HEADER NORDIC/NRF52840_DK )
17
- elseif ("K82F" IN_LIST MBED_TARGET_LABELS )
17
+ elseif (TARGET mbed-k82f )
18
18
set (FLASH_TARGET_CONFIG_HEADER NXP/K82F )
19
- elseif ("LPC546XX" IN_LIST MBED_TARGET_LABELS )
19
+ elseif (TARGET mbed-lpc546xx )
20
20
set (FLASH_TARGET_CONFIG_HEADER NXP/LPC546XX )
21
- elseif ("EFM32GG11_STK3701" IN_LIST MBED_TARGET_LABELS )
21
+ elseif (TARGET mbed-efm32gg11-stk3701 )
22
22
set (FLASH_TARGET_CONFIG_HEADER SiliconLabs/EFM32GG11_STK3701 )
23
23
endif ()
24
24
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad3029lz
15
15
device/startup_ADuCM3029.c
16
16
)
17
17
18
- target_link_libraries (mbed-ev-cog-ad3029lz INTERFACE mbed-aducm3029 )
18
+ target_link_libraries (mbed-ev-cog-ad3029lz INTERFACE mbed-aducm3029 mbed-flash-cmsis-algo )
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ target_sources(mbed-ev-cog-ad4050lz
15
15
device/startup_ADuCM4050.c
16
16
)
17
17
18
- target_link_libraries (mbed-ev-cog-ad4050lz INTERFACE mbed-aducm4050 )
18
+ target_link_libraries (mbed-ev-cog-ad4050lz INTERFACE mbed-aducm4050 mbed-flash-cmsis-algo )
Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ target_sources(mbed-kl46z
32
32
33
33
mbed_set_linker_script (mbed-kl46z ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
34
34
35
- target_link_libraries (mbed-kl46z INTERFACE mbed-klxx )
35
+ target_link_libraries (mbed-kl46z INTERFACE mbed-klxx mbed-flash-cmsis-algo )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ target_include_directories(mbed-m251
70
70
device/StdDriver/inc
71
71
)
72
72
73
- target_link_libraries (mbed-m251 INTERFACE mbed-nuvoton )
73
+ target_link_libraries (mbed-m251 INTERFACE mbed-nuvoton mbed-flash-cmsis-algo )
74
74
75
75
mbed_set_linker_script (mbed-m251 ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
76
76
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ target_include_directories(mbed-m261
82
82
device/StdDriver/inc
83
83
)
84
84
85
- target_link_libraries (mbed-m261 INTERFACE mbed-nuvoton )
85
+ target_link_libraries (mbed-m261 INTERFACE mbed-nuvoton mbed-flash-cmsis-algo )
86
86
87
87
mbed_set_linker_script (mbed-m261 ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
88
88
Original file line number Diff line number Diff line change @@ -75,4 +75,4 @@ mbed_set_linker_script(mbed-m451 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})
75
75
76
76
add_library (mbed-numaker-pfm-m453 INTERFACE )
77
77
78
- target_link_libraries (mbed-numaker-pfm-m453 INTERFACE mbed-m451 )
78
+ target_link_libraries (mbed-numaker-pfm-m453 INTERFACE mbed-m451 mbed-flash-cmsis-algo )
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ target_include_directories(mbed-m480
86
86
device/StdDriver/inc
87
87
)
88
88
89
- target_link_libraries (mbed-m480 INTERFACE mbed-nuvoton )
89
+ target_link_libraries (mbed-m480 INTERFACE mbed-nuvoton mbed-flash-cmsis-algo )
90
90
91
91
mbed_set_linker_script (mbed-m480 ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
92
92
Original file line number Diff line number Diff line change @@ -94,4 +94,4 @@ target_link_libraries(mbed-nuc472 INTERFACE mbed-nuvoton)
94
94
95
95
add_library (mbed-numaker-pfm-nuc472 INTERFACE )
96
96
97
- target_link_libraries (mbed-numaker-pfm-nuc472 INTERFACE mbed-nuc472 mbed-nu-xram-supported )
97
+ target_link_libraries (mbed-numaker-pfm-nuc472 INTERFACE mbed-nuc472 mbed-nu-xram-supported mbed-flash-cmsis-algo )
You can’t perform that action at this time.
0 commit comments