Nuvoton
/
NuMaker-mbed-SD-FileSystem-example
NuMaker SD-File-System with SD mode
Diff: main.cpp
- Revision:
- 23:036c20fd7064
- Parent:
- 21:dfd65207a645
- Child:
- 25:1d348ccfc209
--- a/main.cpp Thu May 14 17:51:18 2020 +0800 +++ b/main.cpp Thu May 14 17:58:54 2020 +0800 @@ -31,13 +31,13 @@ // BlockDevice *bd = new HeapBlockDevice(2048, 1, 1, 512); -// This example uses LittleFileSystem as the default file system -#include "LittleFileSystem.h" -LittleFileSystem fs("fs"); +// This example uses FAT file system as the default. +#include "FATFileSystem.h" +FATFileSystem fs("fs"); -// Uncomment the following two lines and comment the previous two to use FAT file system. -// #include "FATFileSystem.h" -// FATFileSystem fs("fs"); +// Uncomment in the following two lines and comment out the previous two to use Little file system. +//#include "LittleFileSystem.h" +//LittleFileSystem fs("fs"); // Set up the button to trigger an erase