Yeah, I'm using that example, and already tried the f_getfree code, which don't work( got both 0 size)
I also tried to use 1: or 2: instead of 0: in f_getfree, they would make the program crash.
I'm using esp-idf 4.4.2, sd card is on SPI, fatfs mounted.
How to check it's free size?
I tried example_get_fatfs_usage in ext_flash_fatfs example, it don't work.
I'm using esp-idf 4.4.2
I want to suspend wifi to save power and recover it when I need, how to do that?
esp_wifi_stop works to stop it, but when I tried esp_wifi_start to recover wifi link, it don't work.