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.


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs