Skip to content

Commit 244c2fb

Browse files
author
Veijo Pesonen
committed
tests-filesystem: enable all for QSPIF- OSPIF(future)-devices
littlefs is the preferred filesystem for general filesystem tests.
1 parent 4163289 commit 244c2fb

File tree

1 file changed

+6
-4
lines changed
  • features/storage/TESTS/filesystem/general_filesystem

1 file changed

+6
-4
lines changed

features/storage/TESTS/filesystem/general_filesystem/main.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,20 @@
2020
#include "FileSystem.h"
2121

2222
#include <stdlib.h>
23+
#include "LittleFileSystem.h"
24+
2325
#if COMPONENT_SPIF
2426
#include "SPIFBlockDevice.h"
25-
#include "LittleFileSystem.h"
27+
#elif COMPONENT_QSPIF
28+
#include "QSPIFBlockDevice.h"
29+
#elif COMPONENT_OSPIF
30+
#include "OSPIFBlockDevice.h"
2631
#elif COMPONENT_SD
2732
#include "SDBlockDevice.h"
28-
#include "FATFileSystem.h"
2933
#else
3034
#error [NOT_SUPPORTED] storage test not supported on this platform
3135
#endif
3236

33-
#if COMPONENT_SPIF || COMPONENT_SD
3437
using namespace utest::v1;
3538
using namespace mbed;
3639

@@ -2131,4 +2134,3 @@ int main()
21312134
return !Harness::run(specification);
21322135
}
21332136

2134-
#endif // COMPONENT_SPIF || COMPONENT_SD

0 commit comments

Comments
 (0)