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
Location : OpenSTM32 Community Site » Documentation » System Workbench for STM32 » User Guide » Configuring build settings Configuring build settings

Configuring build settings

System Workbench for STM32 creates C/C++ preconfigured projects. You can modify or add build options to the projects.

The properties can be obtained for projects, folders and separate files. To select object properties, right click on object in view and select “Properties”.

C/C++ Settings


To define the build settings, click on “C/C++ Build” in the project properties windows then select “Settings”. In this panel, you can configure the build tools, the build artifacts and steps settings.


In the “Tool Settings” tab, the build options and commands are displayed. You can change build settings and add additional option flags for the compiler, linker and assembler tool.


In the “Build Steps” tab, prebuild and postbuild commands can be added.


In the “Build Artifact”, you can change the name and extention of the project output


In the “Target” tab, the chosen target is displayed. Changing target is not recommended. If you work with the ST firmware, many options won’t be matching to your project anymore. If you want to work on another target, we advise you to create a new project then copy the similar source code.


Path and Symbols


On this page, the include path, the symbols while building and the reference C/C++ project can be set. To access to this page, click on “C/C++ General” the select “Paths and Symbols”.


Although you can edit include path and symbols on the “C/C++ Build”>”Settings”>”Tool Settings”, we recommend you to set your include path in this panel because the general indexer and the tool settings will be updated.