Introducing pio-ulp-cmake - a pre:script that enables CMake-powered ULP/LP projects in PlatformIO on the espressif32 platform or pioarduino. 100% identical to IDF’s ULP CMakefiles - it uses the IDF’s CMake support.
Sounds great to enable a smoother generation of ULP code in ESP-IDF and Arduino projects!
If you have patches like this against PIOArduino’s Espressif32 platform, consider upstreaming them to https://github.com/pioarduino/platform-espressif32/pulls so that those may eventually not be needed anymore. The platform is the best place for automatic building of source files.
I agree - I wanted to get some mileage on the tool first before suggesting an integration into the official package.
That patch script was a experiment to avoid needing to add the extra script - it’s not used. I’ll update the repo accordingly to make that clear.