Hello there, as the maintainer of H4Plugins project which contains lots of examples to test their build at each push. Yet to encounter an issue regarding some examples requiring tweaks to the configuration file. Hence designed the tool with the assistance of DeepSeek to obtain an effective tool regarding such.
The tool is designed to have an overlay configuration file partitioned into three phases: REMOVE, SUBSTITUTE, and INSERT, which gives the user high flexibility regarding editing such a file before building, especially with automation tools like GitHub Actions.
Checkout the repository here: GitHub - HamzaHajeir/PlatformIO-Merger: A Python tool for intelligently merging PlatformIO INI configuration files with three-phase overlay support. Handles multi-line values, variable references, and PlatformIO-specific formatting.
And here’s the examples build testing script: h4plugins/tools/testbuild.py at master · HamzaHajeir/h4plugins · GitHub