When I hit build, I am getting the error seen below:
Compiling .pioenvs\nucleo_f401re\lib7f9\filesystem\Dir.o
arm-none-eabi-g++: error: CreateProcess: No such file or directory
Compiling .pioenvs\nucleo_f401re\lib7f9\filesystem\File.o
arm-none-eabi-g++: error: CreateProcess: No such file or directory
Compiling .pioenvs\nucleo_f401re\lib7f9\filesystem\FileSystem.o
arm-none-eabi-g++: error: CreateProcess: No such file or directory
*** [.pioenvs\nucleo_f401re\lib7f9\filesystem\Dir.o] Error 1
Compiling .pioenvs\nucleo_f401re\lib7f9\filesystem\bd\ChainingBlockDevice.o*** [.pioenvs\nucleo_f401re\lib7f9\filesystem\File.o] Error 1
*** [.pioenvs\nucleo_f401re\lib7f9\filesystem\FileSystem.o] Error 1
arm-none-eabi-g++: error: CreateProcess: No such file or directory
*** [.pioenvs\nucleo_f401re\lib7f9\filesystem\bd\ChainingBlockDevice.o] Error 1
I am using a Nucleo-F401RE board. This only happens in the mbed framework. When I use the stm32cube framework, a similar program compiles fine.
I removed it, and it still does not work. I even tried just copy-pasting your code in. I should note that during build, it takes a long time to get through the “Scanning dependencies…” phase.
Well since we have the exact same platformio.ini and the eact same code in the main.cpp file within the src/ folder, we must have a different PlatformIO setup…
Try the following:
pio upgrade --dev – upgrade to latest development version
pio platform update – update all platform frameworks
Did you install any of these? Seems like you didn’t properly purge your previous PIO installation during reinstall. After [sudo] pip uninstall platformio remove your .platformio folder in your home directory (C:\Users\taylorb\.platformio\)