Here is one question about the usage of SPIFF test in ESP8266 FreeRTOS SDK Environments.
From the pdf Book "Kolban's Book on ESP8266" Neil Koban page 157
The SPIFFS implementation does not directly access the flash memory. Instead, a functional
area called a hardware abstraction layer ("hal") provides this service. A SPIFFS integration
requires that three functions be created that have the following signatures:
s32_t (*spiffs_read)(u32_t addr, u32_t size, u8_t *dst)
s32_t (*spiffs_write)(u32_t addr, u32_t size, u8_t *src)
s32_t (*spiffs_erase)(u32_t addr, u32_t size)
If they succeed, the return code should be SPIFFS_OK (0). On an ESP8266, these will map to the
SPI flash APIs.
My question is how to determine three parameters from above these three apis, because I did not
find any hint or examples to use . Can anybody give me some short hint or examples on how to use these apis to create / read / write a file in esp8266 from a c program ?