Espressif ESP32C3 SD implementation

Can’t do, this is a custom board that I created. No display,

I can open & mount an SD card so long as I don’t care if the time stamp says 1980 or the year 2047 or what ever previously was in the structure that is written to the FAT.

The result is that when an SD card is pulled out and mounted in another device - it looks pretty unprofessional.

The issue is that the ESP32 library provided by Espressif (3.0.1) includes the SD library that lacks the structure files and macro needed.

E.g. if you create a function for callback similar to:

You can’t compile the sketch, the macros FAT_TIME and FAT_DATE do not exist.

If you look at the IDE board manger only the Arduino Nano ESP32 has an entry - unless you select the Espressif ESP32 combination - which then removes the definitions need.

I’m really looking for someone else to look at the libraries (standard Arduino SD & version provided by Espressif to confirm that I’m not imagining things) – I could be mistaken!