SDFileSystem which uses SimpleDMA to efficiently write to the SD card, while other Threads in the RTOS continue running

Dependencies:   FATFileSystem RTOS_SPI

Dependents:   SDFileSystem_RTOS_HelloWorld RdGasUseMonitor keiki2017 keiki2018

Fork of SDFileSystem by mbed official

Revision:
3:1a4ffe455d3c
Parent:
1:7153ee70df01
--- a/SDFileSystem.h	Thu Nov 29 10:56:21 2012 +0000
+++ b/SDFileSystem.h	Thu Dec 26 14:22:37 2013 +0000
@@ -24,6 +24,7 @@
 
 #include "mbed.h"
 #include "FATFileSystem.h"
+#include "RTOS_SPI.h"
 #include <stdint.h>
 
 /** Access the filesystem on an SD Card using SPI
@@ -58,7 +59,7 @@
     virtual int disk_write(const uint8_t * buffer, uint64_t block_number);
     virtual int disk_sync();
     virtual uint64_t disk_sectors();
-
+    
 protected:
 
     int _cmd(int cmd, int arg);
@@ -74,7 +75,7 @@
     uint64_t _sd_sectors();
     uint64_t _sectors;
     
-    SPI _spi;
+    RTOS_SPI _spi;
     DigitalOut _cs;
     int cdv;
 };