mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-29 10:50:36 -07:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chitu_crypt.py | ||
| collect-code-tests.py | ||
| common-cxxflags.py | ||
| common-dependencies-post.py | ||
| common-dependencies.h | ||
| common-dependencies.py | ||
| config.py | ||
| configuration.py | ||
| custom_board.py | ||
| deeper.cpp | ||
| download_mks_assets.py | ||
| exc.S | ||
| fix_framework_weakness.py | ||
| generic_create_variant.py | ||
| jgaurora_a5s_a1_with_bootloader.py | ||
| jgaurora_bootloader.bin | ||
| lerdge.py | ||
| marlin.py | ||
| mc-apply.py | ||
| offset_and_rename.py | ||
| openblt.py | ||
| pioutil.py | ||
| preflight-checks.py | ||
| preprocessor.py | ||
| SAMD21_minitronics20.py | ||
| SAMD51_grandcentral_m4.py | ||
| schema.py | ||
| signature.py | ||
| simulator.py | ||
| stm32_serialbuffer.py | ||
| STM32F1_build_flags.py | ||
| STM32F1_create_variant.py | ||
| STM32F103RC_fysetc.py | ||
| STM32F103RC_MEEB_3DP.py | ||
| tronxy_cxy_446_v10.py | ||