I’m finding myself deleting .pio/build/project.checksum file before every build. If it’s there, the build fails with the error:
*** [/Users/<Username>/.platformio/packages/framework-arduinoststm32/variants/STM32F1xx/F103C8T_F103CB(T-U)/PeripheralPins.c] /Users/<Username>/Documents/PlatformIO/Projects/<Project Name>/.pio/build/bluepill_f103c8/.sconsign39.dblite: No such file or directory
Using PIO v3.3.1 in VSCODE on Mac. Latest release fails the build this project at all failing with the same error regardless the checksum file.
Example projects building correctly though, so it suggests that the problem is related to settings. just not clear which ones.
It seems that VSCode extension is triggering several concurrent pio actions that interfere with each other and effectively deletes files in .pio folder. then different actions fail in different stages causing random crashes of the stages.
I’m starting to suspect that there is a process in PlatformIO IDE that cleans up .pio folder. it breaks if .pio folder deleted but ocasionally starts again.