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


How to import an STM Package into SW4STM?

I’ve managed to get a couple of simple applications to run in SW4STM and love it! ST finally has embraced Open Source sw like Eclipse! However, I haven’t been successful at importing the software package for STM32CubeExpansion_MEMSMIC1_V1.2.0. Does anyone have a recipe that works for this? It appears that ST has not really prepared this package for importing, and has provided no instructions (that I have found) to explain what to do.

Before I punt completely and build the project entirely by hand, I thought I’d ask for guidance from this forum. I’m confident that ST must have directions on how to do this, if I can just ferret them out.

Thanks for any assistance!

BTW, I’ve just updated all the software I’m using. I’m running Ubuntu 14.04, 64 bit.

did you (or anyone else) have a solution for this?

I have just started using SW4STM and have no problem loading and modifying example projects from the cube expansion packages but am really struggling to build a project from scratch with them.

I though maybe I needed to use cubemx as a starting point but I cannot find any way of adding the expansion packages to that either.


After groping in the dark for a while, here’s what I found:

I started by downloading the files for the project I wanted to work on from the ST site. This had files for several processors/boards in it.
In Eclipse, create an empty project.
Import the file system into the project. (This is the root of the files I downloaded, IIRC)
Locate the appropriate project for your board/processor. (Example: sw4stm/l053 version)
Right click on it. This gave the option “Import as Project” which I selected.
This created a new project in Eclipse.
In Project Settings, I had to be sure and point to the correct compiler location (may not be requred now) and had to fix the paths to the Include files. I used absolute file names to files in the workspace area that was just created.
Doing this resulted in a clean compile, but I couldn’t get things to run as I expected them to. This may be due to my lack of experience with this tool set.

Caveat: I have not gotten back to this since mid-April. Maybe this will be of some use to you. It’s frustrating that ST does not see fit to support this excellent platform!


Hello Doctek,

May I suggest the following steps assuming :

  • I downloaded the STM32CubeL0 Firware Package;
  • I am using the STM32L053R8-Nucleo and using the GPIO_IOToggle project In C:...\STM32Cube_FW_L0_V1.5.0\Projects\STM32L053R8-Nucleo\Examples\GPIO\GPIO_IOToggle folder;

Then :

  • I launch SW4STM32 and select my workspace = C:...\STM32Cube_FW_L0_V1.5.0\Projects\STM32L053R8-Nucleo\Examples\GPIO\GPIO_IOToggle\SW4STM32;
  • I right-click in the project explorer >> Import >> General >> Existing Projects into Workspace >> Browse >> Select STM32L053R8_NUCLEO folder >> Finish;
  • I launch compilation (no need to add extra settings) : Build finished successfully;

 

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