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

[BUG] flash limit is incorrect #40

Closed
shadow578 opened this issue Aug 26, 2023 · 3 comments
Closed

[BUG] flash limit is incorrect #40

shadow578 opened this issue Aug 26, 2023 · 3 comments

Comments

@shadow578
Copy link
Owner

shadow578 commented Aug 26, 2023

due to a bug in the linker script, compiling marlin may create binaries that are too large to fit onto the flash of the chip.

please ensure that the memory overview shown during compilation shows a maximum of 212992 B in the 'Used Size' column for 'FLASH'. Anything larger than that may cause crashes.

Memory region         Used Size  Region Size  %age Used
           FLASH:      186848 B       256 KB     71.28%
             OTP:          0 GB       1020 B      0.00%
             RAM:       10800 B       188 KB      5.61%
         RET_RAM:          0 GB         4 KB      0.00%

to reduce the used flash, please disable marlin features that are not needed, or switch to less flash-heavy alternatives (e.g. use AUTO_BED_LEVELING_BILINEAR instead of AUTO_BED_LEVELING_UBL)

@shadow578

This comment was marked as outdated.

@shadow578
Copy link
Owner Author

issue will be fixed by #41

@shadow578
Copy link
Owner Author

issue will be fixed by #41

PR merged

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

No branches or pull requests

1 participant