-
Notifications
You must be signed in to change notification settings - Fork 131
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
image_too_big
error when using espflash v3.0.0
#617
Comments
Hi! Mind giving some more details? Are you using espflash or cargo-espflash? Is it a |
Sure. I am using the
|
Also just want to add that I haven't explicitly configured the partitions, but V2 tool had no problem with it, so from usability perspective, the new tool should not break either. |
Hi, I'm running into the same issue since the last update of espflash
My goal is to convert the binary, so I can use it OTA as before. My actual partition table is:
Failed command Workaroundcargo install espflash --version 2.1.0 cargo-espflash After this the same command returns:
|
…arger than default partition ota image
…arger than default partition ota image
Hi! Can any of the affected users try to reproduce this issue with the current Thanks in advance! |
It would also be helpful if somebody could provide a project which reliably triggers this error when trying to flash. |
The issue persists.
What I just noticed is that the issue can be easily reproduced if the binary is larger than ~1 MB. So I created an empty project and comment out the optimization flag in
|
Okay, for some reason we have the default factory partition size for the ESP32-S3 set to 1MB, while many other chips use 4MB instead. Don't recall where we even got these default values from, will have to try and do some digging. Since you are using the We have some machinery in place in |
Thanks for the feedback. Since the tool correctly prints out the actual flash size, would it not make sense to override the default with that? I have since added the partition table as it was needed for OTA, but I imagine many projects may not need it, so it would be nice of the tool worked without it. |
I was also able to trigger it somewhat reliable |
I tried to upgrade to v3.0.0, but it produces the following error:
V2.1.0 works fine:
The text was updated successfully, but these errors were encountered: