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

dart1280
Posts: 2
Joined: Sat Feb 13, 2021 4:05 pm

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

Postby dart1280 » Sat Feb 13, 2021 4:20 pm

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

dart1280
Posts: 2
Joined: Sat Feb 13, 2021 4:05 pm

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

Postby dart1280 » Thu Feb 25, 2021 2:37 pm

Fixed by running erase from the flash download tool.

Who is online

Users browsing this forum: No registered users and 53 guests