A new (old) way to use Arduino based WisDuo and WisBlock modules with PlatformIO

A while ago I provided a Python script to patch PlatformIO platforms to use our WisBlock and WisDuo modules.

While the Python script to add WisDuo and WisBlock boards to the PlatformIO BSP’s is still working, the problem with the script is that it has to be run every time PlatformIO updates the platforms.
To get around this, I checked the possibilities of PlatformIO to add custom boards to existing platforms, and I found a different solution, inspired by the work of Meshtastic. They are using PlatformIO’s features to add (or better add customized) additional boards to the existing platforms.
RAK_PATCH_V2 is the result of my findings.

RAK_PATCH_V2

Instead of adding board descriptions and files to the existing platforms, the boards are added directly in the project folders.
This keeps the added boards active, even if the main platform is updated.

Click here to read on and get the files and examples from our WisBlock repo