PlatformIO Community

ESP32 Compilation platform.txt


#1

Hi guys,

I don’t quite understand where the compilation instructions are generated. My goal is to program the ESP32 coprocessor in assembly using the Arduino Framework in PIO.
For that I changed the platform.txt file located in
/home/julian/.platformio/packages/framework-arduinoespressif32
After I deleted the whole content of the file, my program was still compiling. I know that you can set some compilation flags in the .ini file, but can someone explain the purpose of the platform.txt file then?
This is the tutorial I followed on github:

All the best,
Julian


#2

Just remove framework = arduino field from platformio.ini. See example for AVR https://github.com/platformio/platform-atmelavr/tree/develop/examples/native-blink