Capturing (forking) this version of FATFileSystem and SDFileSystem because I found that the newer versions do not work with Nucleo boards

Dependents:   SDFileSystem

Fork of FATFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Fri Dec 11 16:16:25 2015 +0000
Parent:
6:a5fcdbf92056
Commit message:
Synchronized with git revision bee1c953f03a0e4f6a4c397e97409076516614a4

Full URL: https://github.com/mbedmicro/mbed/commit/bee1c953f03a0e4f6a4c397e97409076516614a4/

FATFileSystem -Fixed API integer widths

Changed in this revision

FATFileSystem.h Show annotated file Show diff for this revision Revisions of this file
diff -r a5fcdbf92056 -r 094f84646b9f FATFileSystem.h
--- a/FATFileSystem.h	Thu Nov 26 13:30:57 2015 +0000
+++ b/FATFileSystem.h	Fri Dec 11 16:16:25 2015 +0000
@@ -84,10 +84,10 @@
 
     virtual int disk_initialize() { return 0; }
     virtual int disk_status() { return 0; }
-    virtual int disk_read(uint8_t * buffer, uint64_t sector, uint8_t count) = 0;
-    virtual int disk_write(const uint8_t * buffer, uint64_t sector, uint8_t count) = 0;
+    virtual int disk_read(uint8_t *buffer, uint32_t sector, uint32_t count) = 0;
+    virtual int disk_write(const uint8_t *buffer, uint32_t sector, uint32_t count) = 0;
     virtual int disk_sync() { return 0; }
-    virtual uint64_t disk_sectors() = 0;
+    virtual uint32_t disk_sectors() = 0;
 
 };