Recompiled Firmware differs
Hi,
I have cloned the github repo from PR to recompile the firmware. I used the v3.0.11 tag and did a recompile.
The toolchain has been setup completely under Linux as described/done in:
https://github.com/prusa3d/Prusa-Firmware
https://github.com/eyal0/Prusa-Firmware/blob/f46663b1df1294620bea7707ed772c4096f51218/README.md
https://github.com/PrusaMK2Users/Get-PrusaFwDevEnv/blob/master/Get-PrusaFwDevEnv.ps1 (Great setup for Window, I used this for verification)
I also installed the generate_version_header_for_marlin script from https://github.com/Wackerbarth/Marlin/issues/1
So it compiles! Great! Cool!
But wait. My hex file is smaller than the one provided by PR:
mine has 624791 bytes while the Prusa 3.0.11hex has 627385 bytes (both for RAMBo 13a).
My Arduino stats about the build:
Sketch uses 222,124 bytes (86%) of program storage space. Maximum is 258,048 bytes.
Global variables use 5,490 bytes of dynamic memory.
So I setup the toolchain with Arduino 1.8.3
This time the hex has 624951 bytes. Still smaller.
Sketch uses 222178 bytes (86%) of program storage space. Maximum is 258048 bytes.
Global variables use 5498 bytes of dynamic memory.
Does anybody know what this gap could be? Some upgraded library? A mistake on my side?
I guess most of you how run a customised firmware used Arduino 1.6.3 and don't have any issues?
BR, Hendrik
Re: Recompiled Firmware differs
I shouldn’t worry. Different compiler or linker versions or different library versions may result in little differences like this, but it won’t affect the functionality.