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 » Creating a custom board Creating a custom board

Creating a custom board

If you have designed your own board based on a STM32 chip, System Workbench for STM32 offers you to create your custom board definition.

To create a new board, click on “Create a new custom board” on the new project wizard third screen instead of selecting an existing board. A new window is then displayed.

You can import new board from existing board definition (xml format) or create a new board.
While creating a project with a custom board, the definition file (*.xml) and the OpenOCD script (*.cfg) are generated into the project directory. Share these files to export the board into another workstation. The generated OpenOCD script might not be valid your target, please edit it to adapt it for your board.

From definition file

Select “Import from definition file” to import a new board.

Define custom board
  1. Select “Define new board” to create your new board.
  2. Enter the new board name (special characters and underscore are forbidden).
  3. Select the STM32 chip serie.
  4. Select the MCU used on the custom board.
  5. Select the debug device and interface.