Marlin/buildroot
Steven Haigh a1a9904d32
🔨 Enhance mc-apply.py (#28157)
Enhance `mc-apply.py` with `configuration.py` features and value normalization:
- Verbose logging system with `--verbose` flag (0-2 levels)
- `fetch_example()` to download configs from GitHub (`examples/path` or URLs)
- `disable_all_options()` to comment out all `#define` statements
- Special directives support via directives JSON key
- Support for `[disable]`, `examples/path`, and direct URL directives

Implement value normalization for consistent behavior:
- "on", "true", true, "" => enable (uncomment `#define`)
- "off", "false", false => disable (comment out `#define`)
- All other values => set value (`#define OPTION value`)

Update example marlin_config.json to demonstrate different value formats and directive usage. Changes are fully backward compatible with existing JSON configuration files.
2025-11-15 15:44:16 -06:00
..
bin New rule in use_example_configs 2025-11-09 18:37:18 -06:00
etc/udev/rules.d 🔥 Not using .astylerc 2025-01-27 21:18:29 -06:00
share 🔨 Enhance mc-apply.py (#28157) 2025-11-15 15:44:16 -06:00
test-gcode M808 Repeat Markers (#20084) 2020-11-26 21:18:40 -06:00
tests 🔨 Enhance mc-apply.py (#28157) 2025-11-15 15:44:16 -06:00
web-ui/data/www 🎨 Some chmod ug-x 2025-10-26 01:36:21 -05:00