Example of Mbed filesystem using HeapBlockDevice
Dependents: TemperatureButtonFile AccelleratorRead
Diff: main.cpp
- Revision:
- 25:65a9183a2178
- Parent:
- 12:a07d0af60cc6
- Child:
- 26:130bb1173866
diff -r 54f958b463d0 -r 65a9183a2178 main.cpp --- a/main.cpp Thu Sep 06 20:15:17 2018 +0100 +++ b/main.cpp Wed Sep 26 15:01:07 2018 +0100 @@ -18,9 +18,18 @@ #include <errno.h> // Block devices +#if COMPONENT_SPIF #include "SPIFBlockDevice.h" +#endif + +#if COMPONENT_DATAFLASH #include "DataFlashBlockDevice.h" +#endif + +#if COMPONENT_SD #include "SDBlockDevice.h" +#endif + #include "HeapBlockDevice.h" // File systems