[IDEA] Providing prebuilt binaries of Marlin for various 3d printers
Hi r/3dprinting,
​
I think it would be cool to provide prebuilt Marlin binaries for various printers, based on the example configurations in the Marlin repository.
​
That's why I've written a Python script that does exactly that, using platformio. Currently it's more of a prototype than a finished project, but it does spit out compiled binaries per printer. It also generates some webpages so the builds are easily retrievable.
​
Before doing any further development on the configuration files, Python script and webpages, I'd like to gather some feedback from the 3d printing community.
​
So, if you think this is useful, if there are any obvious roadblocks I've overlooked, it exists already and I haven't found it yet, or have some other idea or comment regarding this, please leave a comment!
​
​
Preview of the webpages: https://maikelwever.github.io/marlinbuild/
​
Source code: https://github.com/maikelwever/marlinbuild/
​
I've not tested any of the binaries as of yet, so please don't flash them to your printer :)
Posted Dec 16, 2018, 8:33 PM UTC
What's the point? You still need the Arduino IDE to flash it to the printer, so letting it compile yourself before is no additional effort.
Arduino IDE uses avrdude under the hood, which can be used and installed separately. Various GUI variants exist as well. Additionally, octoprint can be configured to update firmware as well. (edit: in some cases Cura can be used to flash firmware as well).
​
The point is to make it easier for people to get updated Marlin on their printers, especially those running stock firmware without thermal runaway protections enabled.
​
Some printer-specific communities provide prebuilt binaries already. This solution would have the added benefit of having a unified place to get them, and automatically providing bugfix-1.1.x builds as well.
You think that someone who doesn't know how to use the Arduino IDE to compile and flash the FW with one click can configure Octoprint to update the FW? Good luck
Cura can update the firmware as well