File tree Expand file tree Collapse file tree 10 files changed +15
-15
lines changed
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 10 files changed +15
-15
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 @@ -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 @@ -81,7 +81,7 @@ target_include_directories(mbed-m261
81
81
device/StdDriver/inc
82
82
)
83
83
84
- target_link_libraries (mbed-m261 INTERFACE mbed-nuvoton )
84
+ target_link_libraries (mbed-m261 INTERFACE mbed-nuvoton mbed-flash-cmsis-algo )
85
85
86
86
mbed_set_linker_script (mbed-m261 ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
87
87
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