Marlin/buildroot/share/PlatformIO
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
..
boards 🔨 Rename to change case (2) 2025-10-18 18:30:43 -05:00
debugging 🔨 Rename "BTT" things, MCU-based SKR 2 (#27319) 2024-07-29 13:25:17 -05:00
ldscripts 🎨 Some chmod ug-x 2025-10-26 01:36:21 -05:00
scripts 🔨 Enhance mc-apply.py (#28157) 2025-11-15 15:44:16 -06:00
variants 🎨 Some chmod ug-x 2025-10-26 01:36:21 -05:00