1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00
Max Prokhorov 6dfebec8c5
SdFat -> FS HAL mode fixes & test (#8833)
* 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
2023-01-31 22:28:37 +03:00
..

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