File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,36 @@ target_include_directories(mbed-storage-kvstore
15
15
include /kvstore
16
16
)
17
17
18
+ if ("DATAFLASH" IN_LIST MBED_TARGET_LABELS )
19
+ list (APPEND mbed_blockdevice_libs mbed-storage-dataflash )
20
+ endif ()
21
+
22
+ if ("FLASHIAP" IN_LIST MBED_TARGET_LABELS )
23
+ list (APPEND mbed_blockdevice_libs mbed-storage-flashiap )
24
+ endif ()
25
+
26
+ if ("I2CEE" IN_LIST MBED_TARGET_LABELS )
27
+ list (APPEND mbed_blockdevice_libs mbed-storage-i2cee )
28
+ endif ()
29
+
30
+ if ("OSPIF" IN_LIST MBED_TARGET_LABELS )
31
+ list (APPEND mbed_blockdevice_libs mbed-storage-ospif )
32
+ endif ()
33
+
34
+ if ("QSPIF" IN_LIST MBED_TARGET_LABELS )
35
+ list (APPEND mbed_blockdevice_libs mbed-storage-qspif )
36
+ endif ()
37
+
38
+ if ("SD" IN_LIST MBED_TARGET_LABELS )
39
+ list (APPEND mbed_blockdevice_libs mbed-storage-sd )
40
+ endif ()
41
+
42
+ if ("SPIF" IN_LIST MBED_TARGET_LABELS )
43
+ list (APPEND mbed_blockdevice_libs mbed-storage-spif )
44
+ endif ()
45
+
18
46
target_link_libraries (mbed-storage-kvstore
19
47
INTERFACE
20
48
mbed-storage-kv-global-api
49
+ ${mbed_blockdevice_libs}
21
50
)
You can’t perform that action at this time.
0 commit comments