marlin-config
This is a help tool, intended for easy configuration of Marlin firmware
Features:
- automatically clone repository from github if you don't have it
- instant changing of Configuration*.h files
- filter only changed options
- show help for options
- reset configuration changes
- switch between releases, available after reset
- uploading old configuration over current
- creating an issue on Marlin with your configuration
in project used documentation from MarlinDocumentation
installation
sudo npm -g i marlin-conf
using
open terminal in an empty folder or in a folder with Marlin repository and type
mct
and confirm action
then in browser you get interface for other features
In clean/unchanged configuration you can change current release version
Then you can upload or drag in browser your Configuration*.h files
mct help
usage: mct help|git|tree|conf|clone
You need to run it in Marlin git repository
commands:
mct
asks to 'clone' if current folder has no repository then run 'conf'
mct conf
open browser for interactive configuration
mct clone
clone current Marlin repository to current working directory
mct git <git-tag> json|h|txt
json: compare [gitroot]/Marlin/Configuration*.h files
between git-tag files and files in folder then
create .json files with your personal setting
h: extend [gitroot]/Marlin/Configuration*.h files
from git-tag with .json files contained your personal setting
txt: like json but create txt files contained only changes
for publication
mct tree json|h|rm
Each of these traverse [gitroot]/Marlin/example_configurations directory
json: compare configurations with main files [gitroot]/Marlin/Configuration*.h
and generate .json file with its differences for each
and .not files for #defines which not present in base files
h: recreate .h files based on
main files [gitroot]/Marlin/Configuration*.h and .json
rm: remove .json and .not files
command interface: