ESP32 project can not be combiled

After distro-upgrade of Linux Mint to 22.1 I have had weird problems.
While I distro-upgraded the OS, I also upgraded the Arduino IDE 2.3.1 -> 2.3.4 and installed all the board and library backs.

The problem with the program size.
I have an older sketch, which compiled before with no problems. Now it keeps telling:
-"Sketch uses 1732633 bytes (132%) of program storage space. Maximum is 1310720 bytes."
Yesterday IDE told the same sketch used 117% and then 126%.
I have rebooted my laptop between these cases.
One time I managed to compile the sketch, when I first compiled an older version of it and then straight away the new one.

The sketch contains about 980 lines of tight code.

What to do ?
I would not like to trim the code.
And I have some other rather large projects waiting.

What have you got the ESP32 Partition set to in the IDE ?

1 Like

That was the final reason, but:

  • I loaded the scheme and set all the parameters as they should be, including 'Partition Scheme: No OTA' and tried to compile -> error.
  • check the settings. All OK
  • closed the computer and slept overnight
  • Opened IDE, made a checkuo of parameters, compiled -> compiles OK.
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.