-
Notifications
You must be signed in to change notification settings - Fork 42
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
Feature request: Sketch exceeds program storage space warning. #20
Comments
Can you please elaborate what the feature request is? Do you need the upload to be blocked if the sketch uses more than 100%, or do you want the upload to happen? Please note that the HEX binary conversion will fail if the the sketch uses more than 100% and hence upload cannot happen. Also the toolchain already prints the size of the compiled executable, and it can be easily seen that the sketch uses more than 100%. |
Thank you. I actually missed that it printed the size. But the upload does proceed as shown below. And then the micro just perpetually restarts. So "Please note that the HEX binary conversion will fail if the the sketch uses more than 100% and hence upload cannot happen" is not happening. The feature request would be to block the upload if the sketch uses more than 100%.
|
I expected some HEX conversion failure if it exceeded 100%. Thanks for pointing this out. It indeed makes sense to explicitly fail the upload in that case. Should be easier to implement. |
If a program that exeeded the maximum size is uploaded, it will be difficult to diagnose and this change prevents such a scenario. This change fixes the issue #20.
If a program that exeeded the maximum size is uploaded, it will be difficult to diagnose and this change prevents such a scenario. This change fixes the issue #20.
Fixed in release-1.1-dev branch |
Arduino IDE provides the following error and blocks upload. This is very useful and a challenging issue to diagnose when upload takes place anyway.
The text was updated successfully, but these errors were encountered: