I recently got mine out of the stash of "things for future projects" and I wanted to program it using PlatformIO and the RTOS SDK, but that's terribly outdated, with parts of that stack newer and it just doesn't work. Should I use the Arduino framework? That's boring, I did that already with arduino boards. Or maybe I should install the official Espressif toolchain and try the RTOS framework there? It is a bit dated, but I guess if the hardware didn't change, the software doesn't have to either. If anyone wants to give a recommendation, I want to make a system that listens to an endpoint (EC2 atm) and sends wake on lan packets to my devices that join a VPN after booting, so I can access them from anywhere.
I go with PlatformIO and Arduino as framework (#include <Arduino.h> on top of the main.cpp file) for all my ESP32 projects… All the library dependencies are managed through the platformio.ini file. Works perfectly!
If you really want to quickly build, you can try ESPHome. Less learning, but way easier. They also make it possible to insert your own C into that code too.