Example of Mbed filesystem using HeapBlockDevice

Dependents:   TemperatureButtonFile AccelleratorRead

Revision:
25:65a9183a2178
Parent:
12:a07d0af60cc6
Child:
26:130bb1173866
--- 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