Search found 2 matches

by A32-1000
Thu Feb 18, 2021 12:41 pm
Forum: ESP32 Arduino
Topic: format FAT32 sd card - fs.h sd_mmc.h
Replies: 0
Views: 2132

format FAT32 sd card - fs.h sd_mmc.h

Currently there seem no format() method in the sd_mmc.h / fs.h

Is there any way to (re)format a mounted SD card to FAT32 in a esp32 / esp32cam setup ?

I have an unreachable esp32cam, with a corrupted card.. a format on runtime would really help on this.
by A32-1000
Thu Feb 18, 2021 12:31 pm
Forum: ESP-IDF
Topic: Formatting SD card
Replies: 4
Views: 11832

Re: Formatting SD card

Still not really understand how to get it to format on runtime.
Having such a thing in an unreachable esp32cam would be great, when the data corrupts. (it happened..)

this is 'if mount fails'..