Skip to content
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

fail build if initialized data+code does not fit ito bootloader area #1714

Merged
merged 1 commit into from Dec 6, 2019

Conversation

fanoush
Copy link
Contributor

@fanoush fanoush commented Dec 6, 2019

Initialized data is stored after code into FLASH memory and is copied to RAM at startup, so testing only for code size is not enough.
Taken basically from https://stackoverflow.com/questions/23017522/deteaction-of-memory-section-overflow-in-ld

Initilized data is stored after code into FLASH  memory and is copied to RAM at startup, so testing only for code size is not enough.
Taken basically from https://stackoverflow.com/questions/23017522/deteaction-of-memory-section-overflow-in-ld
@gfwilliams
Copy link
Member

Awesome - thanks!

@gfwilliams gfwilliams merged commit 45ffa8e into espruino:master Dec 6, 2019
@fanoush fanoush deleted the patch-1 branch December 6, 2019 08:44
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.

None yet

2 participants