From 244c2fba5f293c049942130059fc14b34d344330 Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Thu, 19 Mar 2020 19:26:16 +0200 Subject: [PATCH] tests-filesystem: enable all for QSPIF- OSPIF(future)-devices littlefs is the preferred filesystem for general filesystem tests. --- .../TESTS/filesystem/general_filesystem/main.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/features/storage/TESTS/filesystem/general_filesystem/main.cpp b/features/storage/TESTS/filesystem/general_filesystem/main.cpp index d5b4ceb419..92095e65d3 100644 --- a/features/storage/TESTS/filesystem/general_filesystem/main.cpp +++ b/features/storage/TESTS/filesystem/general_filesystem/main.cpp @@ -20,17 +20,20 @@ #include "FileSystem.h" #include +#include "LittleFileSystem.h" + #if COMPONENT_SPIF #include "SPIFBlockDevice.h" -#include "LittleFileSystem.h" +#elif COMPONENT_QSPIF +#include "QSPIFBlockDevice.h" +#elif COMPONENT_OSPIF +#include "OSPIFBlockDevice.h" #elif COMPONENT_SD #include "SDBlockDevice.h" -#include "FATFileSystem.h" #else #error [NOT_SUPPORTED] storage test not supported on this platform #endif -#if COMPONENT_SPIF || COMPONENT_SD using namespace utest::v1; using namespace mbed; @@ -2131,4 +2134,3 @@ int main() return !Harness::run(specification); } -#endif // COMPONENT_SPIF || COMPONENT_SD