Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
Install host dependencies.
Import toolchain and SDK.
Create, configure, build and manage apps.
Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench
Windows 7 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.
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
Windows 7
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
what?
I imported a project from STM32CubeMX but the Preprocessor settings are wrong.
weak=attribute__weak
packed=attributepacked__
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?