File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ add_library(mbed-storage-blockdevice INTERFACE)
88add_library (mbed-storage-dataflash INTERFACE )
99add_library (mbed-storage-flashiap INTERFACE )
1010add_library (mbed-storage-i2cee INTERFACE )
11+ add_library (mbed-storage-ospif INTERFACE )
1112add_library (mbed-storage-qspif INTERFACE )
1213add_library (mbed-storage-sd INTERFACE )
1314add_library (mbed-storage-spif INTERFACE )
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ if("QSPIF" IN_LIST MBED_TARGET_LABELS)
1717 add_subdirectory (COMPONENT_QSPIF)
1818endif ()
1919
20+ if ("OSPIF" IN_LIST MBED_TARGET_LABELS)
21+ add_subdirectory (COMPONENT_OSPIF)
22+ endif ()
23+
2024if ("SD" IN_LIST MBED_TARGET_LABELS)
2125 add_subdirectory (COMPONENT_SD)
2226endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ target_include_directories (mbed-storage-ospif
5+ INTERFACE
6+ include
7+ include /OSPIF
8+ )
9+
10+ target_sources (mbed-storage-ospif
11+ INTERFACE
12+ source /OSPIFBlockDevice.cpp
13+ )
You can’t perform that action at this time.
0 commit comments