ESP32 "#define EEPROM_SIZE"

EEPROM.h is deprecated on the ESP32. It's better for you to transition to using Preferences.h instead.
https://forum.arduino.cc/t/eeprom-issues-on-esp32/950863/12