FYI:Source code of Snapmaker Firmware

Many people ask for the source code of firmware 1.7.0, and I will share the file here.

Snapmaker Controller
Snapmaker Modules


That looks like a fork of . The git repo was stripped though, so I can’t see when it was forked, or how much difference there is.

Any reason you don’t make the github project public? Any chance we can get the source for the v1 too?


At least tell us what version things are branched off of. CuraEngine, CNCJS, Marlin, etc.
It would be real nice to have some kind of a flow chart that shows where all the pieces come from.

Am I correct in seeing in the config files that the version of Marlin is 2.0?

It is branched off of Marlin

Yes, it is Marlin 2.0

We plan to open source the codes after we fulfill all the backers’ rewards.

Yes. You can check this by scroll down the git log, I think it was based on some earlier version back in 2019 June.

We use CuraEngine official build 3.6.0, CNCJS version is irrelevant since it’s been long since we forked, the functionalities are quite different in Luban now.


Is there a source code for the current version?

Here is the link for firmware


@Edwin any reason not to put this on your GitHub? It’s already public / open source by putting it in the forum. However, it’s difficult to collaborate on it in the forum.

Just a suggestion.


I have asked for this before as well and got no reply. Shame.

1 Like

We will open source after we fulfil all backers’ rewards. Due to the COVID-19 outbreak these days, the plan has been postponed for a while.

I see in the latest source that you started to implement backlash compensation but didn’t finish the setup. Is there a reason this was not completed @Edwin?

Backlash is a factor that affects the calibration, so we open this interface first, but we have not had time to do this optimization. This method is not in the roadmap in the near future. I will keep you updated about this issue.

Wow very bad news to ear that backlash compensation is not in your roadmap.

Actually, the backlash compensation is in our roadmap, but we have postponed it.
At present, our first task is to refactor the code and prepare the tools and documents needed for open source process. We will continue to optimize our machines

@Edwin Please make your Roadmap public.


@Edwin yes please make the roadmap public.

In searching the changes in 1.8 firmware it appears to me that backlash has been enabled! But I haven’t verified that yet with experiments. M425 gcode.