Following the above instruction set I couldn’t build the project. Make was failing:
process_begin: CreateProcess(NULL, echo “Building file: C:/workspace/controller/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c”, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** Drivers/STM32F4xx_HAL_Driver/stm32f4xx_hal.o Error 2
Apparently, make couldn’t invoke “echo” command for some reason
The solution is to add “echo.exe” to a folder included in PATH.
I found “echo.exe” in Coreutils - SOLVED
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
I imported a project from STM32CubeMX but the Preprocessor settings are wrong.
Why does this wrong preprocessor come from?
Mine doesn’t make a .cproject file.
I get a .s file and a .ld file
Which one to use?