-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
Commit f8aa52346 increased footprint by 1.5kB #14932
Comments
heya,
even before this commit it was hard to enable bltouch and sdsupport, u had to disable alot. but u did not even disable those "basics"... pls disable everything and report back or buy a better board. there is no other solution. |
PS:
|
@reloxx13 maybe he gave too much information. Let me revise this : Commit ## grows binary size by x.xkb, here is a pull request to make new functionality optional so that a finely tuned build still fits where it did before if I dont want the new feature added. Edit : basically info about bltouch and ender 3 is side notes not relevant to the actual issue at hand of an unnecessary binary size increase. |
@InsanityAutomation but the config is not fine tuned, cause bltouch and sdsupport did never fit without disableing alot of stuff for small chips. and without sdsupport there is(was) alot of space left. there are special guides out there to enable sd support and bltouch (for ender3), which shows to disable those listed above (maybe not all, but he did not disable one of those). if the size grew now, u may be forced to eg. disable babysteps now, which u could enable before this commit. @trouch |
@reloxx13 Im well aware of that, ive been maintaining a branch with BLTouch, SD Support, and Mesh leveling / bilinear for quite some time. Eric has seen those and may have even cherry picked some of it out for his own setup testing here. Goal is to turn off as little as possible. Last I checked my config compiled at 95% progmem (96.5% hits bootloader!). In any case, all that is just a distraction from new functionality added not in the normal convention of a config option to turn it off increasing global size. |
@reloxx13 Come on... don't take it that bad. Please let met add few more details. In order to debug the issue with my own fine tuned config, I started from the sample Ender-3 config, enabled BLTouch, and started to strip down things. At some point I realized something in the tree expanded the firmware too much. I've spent lot of time to find the exact commit and feature which increased the footprint. I obviously know we can't fit everything on a small 128kB memory. Thought I pointed out an issue that lot of Ender-3 user may encounter at some point, and even provided a PR for it. |
i have the same problem in my 1.1.3 creality board (mine without bltouch). before, (1088846) with my config, all fit in the board, now i have rebased the code with the new commits (13d8dc0) i'm unable to fit the firmware because exceed the board size
yes is a litle, but before fits without problem, now not my changes (before rebase (not pushed)(now reverted) sl1pkn07@8641aca)
greetings |
@sl1pkn07 give a try with |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
I've noticed that I can't build a BLTouch enabled firmware for Ender-3 stock board anymore using latest code base. Trying to build a translated firmware is also funny, even without bltouch enabled !
I reduced the features as much as possible without any luck, config attached.
So I slowly reverted back until I found the commit that brought more than 1.5k of extra binary code:
Mixer patch, etc. 842466f4d Scott Lahteine <[email protected]> 30 Jul 2019 at 05:20
=> Uses 128906 bytes, fits Ender-3 stock board
Configurable Z move distance (#14593) f8aa52346 MarcelMo <[email protected]> 30 Jul 2019 at 09:16
=> Uses 130628 bytes, goes over bootloader space
Steps to Reproduce
Expected behavior: Build should fit
Actual behavior: Fails
Additional Information
Fix proposal: #14933
The text was updated successfully, but these errors were encountered: