One item that remains a bugaboo to migrating from Arduino IDE to PlatformIO and I’ve not found addressed (or I’m failing to create the correct search incantation).
The Arduino IDE Tools menu, after setting up a project looks something like this:
Board: “ESP32S3 Dev Module”
USB CDC On Boot: “Enabled”
CPU Frequency: “240MHZ (WiFi)”
Core Debug Level: “Info”
USB DFU On Boot: “Disabled”
Erase All Flash Before Sketch Upload: “Disabled”
Events Run On: “Core 1”
Flash Mode: “OPI 80MHz”
Flash Size: “8MB (64Mb)”
JTAG Adapter: “Integrated USB JTAG”
Arduino Runs On: “Core 1”
USB Firmware MSC On Boot: “Disabled”
Partition Scheme: “ESP SR 16M (3MB APP/7MB SPIFFS/2.9MB MODEL)”
PSRAM: “OPI PSRAM”
Upload Mode: “UARTO / Hardware CDC”
Upload Speed: “921600”
USB Mode: “Hardware CDC and JTAG”
Zigbee Mode: “Disabled”
Programmer: “Esptool”
For each option above:
How does one find what the equivalent entry for the platformio.ini file would be and, where options are available (like the Flash Size and CPU Frequency), where can the enumerated list of each option be found?
Regarding the article, what about custom partition schemes? The "partitions.csv" file needs to be located in the Arduino-esp32 core and copied in to correct location within the pio project structure. No easy way to find the .csv file matching the name selected in the Tools menu. An easy way to locate?
I’ve tried reverse engineering the Arduino IDE compile output, but that is an exercise best left to a masochist it seems.
Not a rant, just some important things that seem to be skipped over.