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


Broken paths when creating projects

Using STM32CubeMX 4.13.0 I created a project from scratch for an STM32L053. To avoid redundant copies of library files I checked “Add necessary library files as references in the toolchain project conf…”. Among other (9) files, this created the file SW4STM32/${PROJ}/.project. ${PROJ} is the name of the project.

By default, STM32CubeMX sets up a repository at ${HOME}/STM32Cube/Repository, ${HOME} being the home directory of the user. Therefore, the absolute path of the repository should be taken for linking.

However, all links in the file SW4STM32/${PROJ}/.project are prefixed with PARENT-2-PROJECT_LOC. BTW, is there an official documentation for “PARENT-2-PROJECT_LOC”? Though this is reasoanble for project-local files, it is incorrect for the library files.

As a workaround I stripped off the incorrect prefixes for the library files and could import the project successfully as described in the wiki.

 

Newest Forum Posts

  1. Analog servomotors with nucleo f334r8 by SkelePaw, 2025-11-01 05:57
  2. So happy to finally meet you! by Danielrug, 2025-10-28 11:01
  3. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  6. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  7. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  8. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05

Last-Modified Blogs