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


SW4STM32 project generation have a problem

After updating the System Wokbench IDE and the Eclipse plugin code generator, I get the following message:
“The code is successfully generated under folder but SW4STM32 project generation have a problem”
The error message appears with both the already developed old projects and with any brand new project.
It’s not possible to compile the projects (errors are generated).

Does anyone have a similar issue?

How can I fix it?

Hello,
i have the sam issue. Do you have any solution yet?

Problem solved!
Check my answer on my last post!


France

Hello,

Could you provide more details about your current environment ? :
- According shared message my understanding is your trying to generate a project from STM32 Cube Mx feature. Is your Cube Mx session a stand alone instance or are you relying on Cube Mx eclipse plugin ?
- Could you share your host platform, Cube Mx (standalone or plugin) version and same thinking SW4STM32
- Could you share target you’re relying on (MCU or board and in any case its reference)

Thanks.
Br


After a couple of weeks of abnormal behavior of System Workbench IDE, I found the following: if the workspace path or the filename contains the string ‘ac6’, an error is reported by STM32CubeMX during the code generation process and the project files are not created.

Try yourself!
Simply create a new project using the platform NUCLEO-F303R3 and name the project using a string that contains ‘ac6’.
For instance, use the following parameters for the project:
- Workspace: “D:/projects/ac6_project”
- Project name: “ac6_project”
- Full path: “D:/projects/ac6_project”
- Toolchain / IDE: “SW4STM32”
If you click on the “Generate source code based on user settings” button, the code generation process exits abnormally with the following message error:
The Code is successfully generated under “D:/projects/ac6_projecy but SW4STM32project generation have a problem”.
If you change the project name, the code is generated without errors.

Waiting for the fix of this bug, simply remove the string “ac6” from your path!

;-)


Hello,

This issue is fixed in STM32CubeMx version 4.24.0
It was not an SW4STM32 issue.

Rgds,
Laurent


I have the same message from the CubeMX “program” (if it is possible to call this piece of... ).
Downloaded this “program” a couple days ago (April 10, 2018) and it still has this problem. They still haven’t fixed it. It’s so sad :-(


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs