tinkergnome 927
My question is therefore this:
How is the default UM2 extended firmware included in Cura built?
The build process of the whole bunch of different firmware versions is included in the Cura package script
As you can see - it uses the Makefile, not the Arduino IDE.
(side note: maybe it's different for the new (beta) Cura - i haven't compared it yet)
I'm still not sure, how the Arduino IDE compiles a sketch but i fear it compiles (and link) all files that are present in the Marlin folder. And there is a lot of stuff that is not needed (and not used) for the Ultimaker2.
Using "make" you will have a lot more control about the building process. I recommend to go this way.
Why are the two images so different? Are they any extra libraries included in the Cura image? Different optimization? Different compiler?
Probably all of this... (see above)
And keep in mind that the current branches are not always in a (directly) usable state. I recommend to start with the latest stable release (15.04.4 atm) - it's always better to use a steady starting point.
Have fun!
Recommended Posts
gr5 2,235
Even just changing one byte in the code will make the whole file different because now addresses of every jump (in machine code) have all moved. Or if you move the data by one byte then those all change. So comparing binaries that only had one tiny change will usually look completely different.
There might be a git tag somewhere - there should be - such that you can check out the exact version but really - the latest version is best anyway.
What doesn't home? X? Y? or Z?
Link to post
Share on other sites