Skip to content

update from arduino head - #1

Merged
SpenceKonde merged 8 commits into
SpenceKonde:masterfrom
arduino:master
Jul 7, 2020
Merged

SpenceKonde merged 8 commits into
SpenceKonde:masterfrom
arduino:master

Conversation

@SpenceKonde

Copy link
Copy Markdown
Owner

No description provided.

SpenceKonde and others added 8 commits October 13, 2019 03:34
avr-size reports const variables in .rodata. 
recipe.size.regex did not check .rodata when totaling up flash usage. This would result in the reported size of the sketch not including variables that were declared const; it was possible to make a sketch that did not fit in the flash, but where this wasn't detected until it got to avrdude during the upload process, and avrdude dutifully reported that it was trying to write to addresses that were out of range. 

See the big discussion over here when I encountered this in megaTinyCore (and @MCUdude discovered that this happened on the official megaavr boards too) SpenceKonde/megaTinyCore#95
Correct size output for const variables
@SpenceKonde
SpenceKonde merged commit fc5bd7f into SpenceKonde:master Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants