After a few days of trying lots of things I find about using ULP under platformio, I finally surrender to ask for help…when suddenly I figure out the following…
I am sticking directly to the code downloaded from this URL. No embellishments… Just want to get something running first.
First I encounter that ulp.h is not found. … EXAMPLE CODE SHOULD READ:
//#include "ulp.h" // this does not work
#include "esp32/ulp.h" // but this does...
So yea! that compiles. Now I need it to run on ESP32_S3_DEVKIT1 (for which I use [env:esp32-s3-devkitc-1] . THIS IS WHERE I AM STUCK. It seems the whole environment running under the espidf framework is missing paths to lots of .h files that are required. Has anyone gotten this working on S3?
I completely cleaned out and rebuilt my VSC/platformio as I could not get anything at all to build under the espidf framework. So I have a complete new install with Espressif 32 6.3.2 and can build basic programs unrelated to ULP. At this point though, after spending another full day on this, I don’t seem to have either esp32s3/ulp.h nor ulp_main.h (and presumably also not the correct source for ulp_main and ulp related to these .h files. I have not been able to find a source for those. Not sure why they did not build into the espressif 32 installation. Any pointers on either how to get those to install or where I can source the correct files? (I find other versions such as from the ulptool-pio library but I’m pretty sure that’s not what I am looking for).
After several year and hundreds of projects on many platforms using VSC/platformio, this is the first I have needed to use the espidf framework so I am not familiar with its ways.