Loading...
 

Zephyr project on STM32

   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

System Workbench for STM32


Getting started: Error 2

I try to get started with an existing project. I create the project, and point it to the directory with sources and makefile. Presumably, the project is read in correctly, as the author’s todo list is there, and cliking a file name there opens the file. However, make returns:

make all
mkdir -p build
process_begin: CreateProcess(NULL, mkdir -p build, ...) failed.
make (e=2): File not found, in finnish

make: *** build Error 2

15:01:32 Build Finished (took 203ms)

What is the issue? Please help a noob out!

Hello Juku,

As the project already exists, what about importing it into the System Workbench workspace instead of creating it again based on its location ?
Try “File > Import > General > Existing Projects into Workspace” and select the project root directory.


I had the same problem. Looks like SW4STM32 does not include mkdir. C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.13.2.201703061525\tools\make only includes rm.exe, echo.exe, make.exe and sh.exe on my system. I installed MinGW and copied mkdir.exe from msys to this directory. After that the makefile could use mkdir.

But is there a more elegant solution to this?

Christian


SW4STM32 currently includes only required stuff for its generated Makefiles.
At this time there is no other solution than having mkdir.exe available in %PATH%, or copying it into the make folder.
Let us imagine that this will be fixed in next releases, at least for basis binaries like this.


Sir

I’ve just created a new project and I’m having a lot of issues with it. When I tried to build it, a message appeared saying that ‘building is finished’.But lot of errors in console window. I figured out that binaries is missing under my file name in the project explorer. Please see the attachment showing the error message. I am building the default ‘void’ program available in the system workbench. Please reply.



I am using STM32 AC6 software system workbench & STM32F3 DISCOVERY Board. Please do the needful

Please reply then only i can start my research work. I am a new learner of this software.