-
Notifications
You must be signed in to change notification settings - Fork 19
Advanced configuration within src/ #5
Comments
It would be amazing if we could use some kind of patching system for this. That way, we could make a repo which has a selection of different mods, and the user can pick and choose which they want, and the script applies them by patching after the git pull. Not sure if I'm explaining this well... |
A repository is a good idea, but sounds like a lot of work to make it possible 😅 However, a solution could be a list of files with corresponding rules that can be applied using |
That sounds good to me! |
Advanced configuration can be solved by forking the I still like the idea for a solution with |
Right, that's what I'm doing now... Trouble is that it requires a separate branch for each feature combo you may want to include. One example would be let's say I want to compare Linear Advance and S-Curves (mutually exclusive options in marlin) so now I require two separate branches... Not too bad, but now let's say I introduce another feature I'd like to compare in combination with these two, like say different PID tunings and how they interact with the above... Now I need four....You can see how this grows pretty awkward pretty fast. I've got a set of about 8 of those so I'm up to 2^8 branches hahaha |
I see, haven't considered using it in such a way. I only have one printer, so in such cases i would temporary create a bunch of firmware's locally using docker-compose. Mounting the MarlinFirmware folder to |
Thanks for the tip, I'll give that a try shortly. My extruder decided that it was time for a break, so I'll let you know how I fare when the thing is back in action. |
I think it would be awesome to be able to supply recursive file overrides from the Thanks again for this wonderful project, it really is a great tool. |
You might want to look into the patch command |
In some cases you might want to change the variables not covered by
.h
configuration files alone, and you need to make changes inside theMarlinFirmware/Marlin/src
folder.The script currently have no logic for replacing files inside sub-folders.
The text was updated successfully, but these errors were encountered: