-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: The program size is greater than maximum allowed. But worked on version 2022.10 #4057
Comments
Could this change be the cause of my problem? |
Here same error without any code change |
The only solution I found was to cut parts of my code, e.g. the logger functionality so no more checking the logs for issues :-( |
same here, using nspanel with ble proxy configuration. Program is too big to fit even with the minimal features and no logging. Before it worked without any issues. |
Same issue w/o code change. Quite annoying. |
same thing: Error: The program size (1939513 bytes) is greater than maximum allowed (1835008 bytes) |
Also same with Home Assistant 2023.7.3 and ESPHome v2023.2.2 :
Update: Same behavior with esphome 2023.7.0
|
If you're using BLE proxies with arduino and having this issue, try to switch to esp-idf framework. |
I got it working by doing the firmware update not over the air. Plug on the computer and with web Esphome works nicely. Then the OTA update works again. |
Same issue with my esp32 :-(
Gonna post my YAML later if anybody is intrested in. |
Same issue here with three different devices. None of them can be updated OTA. I also can't easily reach them anymore for wired updating. That's really bad! |
still an issue... any ideas? |
The problem
I updated ESPHOME to 2022.12 and wanted to upgrade my devices. However one of them can't compile and generates the error:
Error: The program size (1874625 bytes) is greater than maximum allowed (1835008 bytes)
On ESPHome version 2022.10.2 the YAML compiled just fine.
I wonder whether the issue is due to the changes in the flash partition table in version 2022.12? I understand those are for the bluetooth proxy and I am using that.
Is there a way I could solve this issue?
Which version of ESPHome has the issue?
2022.12.4
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.1.4
What platform are you using?
ESP32
Board
MH-ET LIVE D1 mini ESP32
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Linking /data/kamerlo/.pioenvs/kamerlo/firmware.elf Error: The program size (1874625 bytes) is greater than maximum allowed (1835008 bytes) RAM: [== ] 18.6% (used 61000 bytes from 327680 bytes) Flash: [==========] 102.2% (used 1874625 bytes from 1835008 bytes) *** [checkprogsize] Explicit exit, status 1 ========================= [FAILED] Took 399.23 seconds
Additional information
No response
The text was updated successfully, but these errors were encountered: