iondbproject / iondb

IonDB, a key-value datastore for resource constrained systems.
BSD 3-Clause "New" or "Revised" License
587 stars 48 forks source link

Clean-up the SD file intercept to be more generalized and to support many platforms #25

Closed Stickerpants closed 8 years ago

Stickerpants commented 8 years ago

Currently, there exists a re-direct for translating C-style file calls (such as fwrite, fread, ...) into Arduino SD file calls (like SD.begin(), SD.open(), ...). This should be refactored to be more platform independent, and to open up flexibility to support other file systems, such as TEFS, FATFS, and others.

Stickerpants commented 8 years ago

Make sure to fix the conditional compilation of the intercept (Currently, it just wipes the file blank if we're not on device. This must be changed.)

Stickerpants commented 8 years ago

Issue moved to internal task tracker.