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


First time program in STM32F411E-Disco

Hi,

IMO, because you don’t have examples for you board STM32Cube v1.7.0 or v1.8.0, the easy way is to generate the project from STM32CubeMX and then import into System Workbench. This should work, I do this for 4 or 5 different boards and I did not have any problems. Just follow the procedure you mention and generated project should build without problems.

If you can toggle some LEDs on the board then you can add code from existing examples from HAL library over the generared code.

I check CubeMX and you can select you board - see attached pictures. The clock is already configured and also the GPIO. Just generate this code then import into SW, then build, select the elf and try to download.
Turn ON a LED in main, check how this is done in STM32F4-Discovery - is the same code.

Pay attention to instructions related OpenOCD configuration: “Setting up your project for debug”. This is a sensitive part. The board has an ST-LINK/V2 hardware debugger same as F4 Discovery (don’t choose something with V2.1). If don’t find the OpenOCD configuration for you board for this part I think is safe to use the configuration for F4 Discovery.

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs