Page 1 of 1

ESP32 Devkit V1 DOIT File too big at 1807554 bytes. Is this right?

Posted: Sat Feb 13, 2021 4:20 pm
by dart1280
Hi all. first the error message...
  1. Sketch uses 1807554 bytes (137%) of program storage space. Maximum is 1310720 bytes.
  2. Global variables use 70700 bytes (21%) of dynamic memory, leaving 256980 bytes for local variables. Maximum is 327680 bytes.
  3. text section exceeds available space in board
  4. Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
  5. Error compiling for board DOIT ESP32 DEVKIT V1.
This program loads into a ESP32 DevkitC ok providing either minimal SPIFFS or No OTA 2Mb APP is selected. If I select DOIT ESP32 DEVKIT V1 in Arduino IDE there are no options for program space management and during compiling I get the above error. If I select the device as ESP32 DEV module and select minimal SPIFFS it compiles and flashes but the device just (what appears to me to be) bootloops.

I'm sure the answer is simple but I have not been able to find the answer. Can anybody be kind enough to point me in the right direction please.

Mike

Re: ESP32 Devkit V1 DOIT File too big at 1807554 bytes. Is this right?

Posted: Thu Feb 25, 2021 2:37 pm
by dart1280
Fixed by running erase from the flash download tool.