EEPROMClass EEPROM((((uint32_t)&_SPIFFS_end - 0x40200000) / SPI_FLASH_SEC_SIZE);)
is it true that _SPIFFS_end points to the first sector after SPIFFS area?
Or is EEPROM emulation actually using the last sector of SPIFFS area?
I'm planning to use the 32kB SPiFFS area for custom purposes and i'm not sure about the proper calculations...
Would this be safe:
uint32_t _firstsector = ((uint32_t)&_SPIFFS_start - 0x40200000) / SPI_FLASH_SEC_SIZE;
uint32_t _lastsector = ((uint32_t)&_SPIFFS_end - 0x40200000) / SPI_FLASH_SEC_SIZE;
Or would it wipe EEPROM emulation area?