mirror of https://github.com/ARMmbed/mbed-os.git
commit
be295e42a4
|
@ -12,7 +12,6 @@ target_include_directories(mbed-device_key
|
|||
target_sources(mbed-device_key
|
||||
INTERFACE
|
||||
source/DeviceKey.cpp
|
||||
../source/SFDP.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(mbed-device_key
|
||||
|
|
|
@ -31,6 +31,7 @@ target_include_directories(mbed-storage-blockdevice
|
|||
.
|
||||
./include
|
||||
./include/blockdevice
|
||||
./include/blockdevice/internal
|
||||
)
|
||||
|
||||
target_sources(mbed-storage-blockdevice
|
||||
|
@ -44,5 +45,6 @@ target_sources(mbed-storage-blockdevice
|
|||
source/ObservingBlockDevice.cpp
|
||||
source/ProfilingBlockDevice.cpp
|
||||
source/ReadOnlyBlockDevice.cpp
|
||||
source/SFDP.cpp
|
||||
source/SlicingBlockDevice.cpp
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define MBED_OSPIF_BLOCK_DEVICE_H
|
||||
|
||||
#include "drivers/OSPI.h"
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "blockdevice/BlockDevice.h"
|
||||
#include "platform/Callback.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "platform/Callback.h"
|
||||
#include "OSPIFBlockDevice.h"
|
||||
#include <string.h>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define MBED_QSPIF_BLOCK_DEVICE_H
|
||||
|
||||
#include "drivers/QSPI.h"
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "blockdevice/BlockDevice.h"
|
||||
#include "platform/Callback.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "platform/Callback.h"
|
||||
#include "QSPIFBlockDevice.h"
|
||||
#include <string.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "platform/SingletonPtr.h"
|
||||
#include "drivers/SPI.h"
|
||||
#include "drivers/DigitalOut.h"
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "blockdevice/BlockDevice.h"
|
||||
|
||||
#ifndef MBED_CONF_SPIF_DRIVER_SPI_MOSI
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
#include "SPIFBlockDevice.h"
|
||||
#include "rtos/ThisThread.h"
|
||||
#include "mbed_critical.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "platform/mbed_error.h"
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
|
||||
#if (DEVICE_SPI || DEVICE_QSPI || DEVICE_OSPI)
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "gtest/gtest.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "drivers/internal/SFDP.h"
|
||||
#include "blockdevice/internal/SFDP.h"
|
||||
|
||||
class TestSFDP : public testing::Test {
|
||||
protected:
|
|
@ -6,12 +6,12 @@ set(TEST_SUITE_NAME "SFDP")
|
|||
|
||||
# Source files
|
||||
set(unittest-sources
|
||||
../drivers/source/SFDP.cpp
|
||||
../storage/blockdevice/source/SFDP.cpp
|
||||
)
|
||||
|
||||
# Test files
|
||||
set(unittest-test-sources
|
||||
../drivers/tests/UNITTESTS/SFDP/test_sfdp.cpp
|
||||
../storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp
|
||||
stubs/mbed_assert_stub.cpp
|
||||
)
|
||||
|
Loading…
Reference in New Issue