Files
Marlin/buildroot/share/PlatformIO/scripts
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
..
2025-10-07 02:26:49 -05:00
2024-06-14 16:01:34 -05:00
2025-09-29 15:24:58 -05:00
2025-04-09 19:08:10 -05:00
2024-06-14 16:01:34 -05:00
2023-11-13 23:48:01 -06:00
2025-11-15 15:44:16 -06:00
2025-09-14 18:58:00 -05:00
2024-06-14 16:01:34 -05:00
2024-06-14 16:01:34 -05:00
2025-10-31 20:17:18 -05:00
2025-11-14 23:47:20 -06:00