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


several projects with same drivers

France

Hi,

You should create a Static Library project for the same board/MCU with your drivers and three application projects for your applications. All projects should be created by importing the firmware libraries as static external libraries.

In this project create two folders: inc for header files and src for source files; then in Project >> Properties >> C/C++ General >> Paths and Symbols >> Includes add (for all languages and configuration) the workspace path to your inc directory (You can also use the ProjDirPath Eclipse variable by typing ${ProjDirPath}/inc in the Directory field of the Add dialog)

Then, for each application project, go in Project >> Properties >> C/C++ General >> Paths and Symbols >> References and select the library project created first. As the include files are not in the root folder of the library project you must also go in Project >> Properties >> C/C++ General >> Paths and Symbols >> Includes and add (for all languages and configurations) the workspace path to the inc directory of your library

Then when you build your applications SW4STM32 should automatically build first your library, then your application, linked with your library.

Hope this helps,

Bernard (Ac6)