Hello. I have seen numerous posts about problems with compile times in platformio. Every time I change one line of code, it recompiles the whole program which takes 2-3 minutes. Same behaviour explained here:
Has there been any updates regarding this issue? Any workarounds available?
I have not created components folder. I have simply created my own custom .c file under src/ folder and then I modify my CMakeLists.txt and add all my .c files
It’s somewhat dependent on the speed of your computer but this is my experience too. From what I see it compiles all the libraries (Including ESP32 Core) every time. I believe with the ESP32 having things like WiFi, Bluetooth, SD Card etc that it just takes longer than other Arduino’s that don’t have those. Also, I think the Arduino IDE only uses one core of your processor.
Install vscode; Install platformio-vscode-ide; Create new project (I’m using esp8266 and esp32); Click ‘build’ or … ESP32 insane compile times everytime .
We can’t reproduce that unless you show the project you’re having problems with. What compilation times are you getting? Are you talking about unnecessary recompilations for minor code-only changes or the general compilation time? Is that with Arduino as framewokr?