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


new to ST in general... actually new to ARM

France

Nice explanation Ciprian,

Note that creating the proper layout and getting the latest supported firmware from ST can be done simply through System Workbench for STM32:

  1. Create an empty directory for your workspace to be sure you start from a clean environment
  2. Create a new C or C++ Ac6 STM32 MCU Project targeting your MCU
  3. Choose the firmware you want (HAL for example)
  4. Select the “Extract all firmware in separate folder” check box
    • This will creta a generic project, with the wole content of the ST firmware
      • This project is by default created closed
      • You must open it (right click >> Open project) to look at its content
    • This is not a compilable C or C++ project, just a set of files
    • Use it to browse through the ST provided files and copy the ones you may need in your own project
  5. Select the “As sources” radio button
    • Then the needed firmware elements will be added to your project, not to an external library project
    • This may simplify adapting the code and configuration to your needs
    • Otherwise the ST firmwares will be loaded in a separate library project, automatically linked to your project
      • This will allow to reuse the same library project for several projects
      • However some firmwares (notably FreeRTOS) may be copied in your project anyway, as project-specific configuration may be needed
      • Currently, as not all additional firmwares are fully configured by System Workbench, the first solution may be simpler to use
  6. Select the additional components you want to have in your project
    • You may also, later on, add more just by draging and dropping from the firmware reference project to your project


Then you project structure will look like the one you manually created and most (if not yet all) include and library paths will be set up automatically.

Bernard



Thanks Bernard for explanation, and for work on System Workbench project.


 

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