Why don’t you use the littleFS to store the permanent data instead of using EEPROM library ?
There are several ways to store data on the ESP32 flash memory and EEPROM is one of them.
Alternatively, you can use:
Depending on your project application, one method might be more suitable than the other.
We don’t use EEPROM exclusively, we also use other methods.