mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
* re-use SdFat access mode through static const, no need to hard-code our own value w/ cast in the macro * separate read-modes from flags; read, write and rw are distinct numbers * simple compile-time tests in .cpp resolve #8831
Arduino "class SD" shim wrapper
This is a simple wrapper class to replace the ancient Arduino SD.h access method for SD cards. It calls the underlying SDFS and the latest SdFat lib to do all the work, and is now compatible with the rest of the ESP8266 filesystem things.
-Earle F. Philhower, III earlephilhower@yahoo.com