Loading...
 
Skip to main content

System Workbench for STM32


How to use STMCUBE with openSTM


We need a detailed tutorial on exactly how to use STMCUBE to generate files that can be used
by System Workbench. I have not had much success.
I do know that you have to use attolic as the target platform, since it is an eclipse based system,
but once you have all the files generated, how do you get them into the system?
Collateral questions include,
You can build for HAL or you can generate one for the standard peripheral library.

How can you create two seperate projects with code generated under each model, and integrate
the STMCUBE code?

How can you, if you chose the use library option for the HAL files, add the libraries in?
How can you , if you chose include the source as seperate files, bring all of them into a clean
project.

How can you make the jpeg and SDIO files generated in System workbench 32, compile, and how and where are the missing files?

Hi,

sorry for the late reply. The good new is that ST has released a new version of STM32CubeMX - v 4.7.0 - that supports SystemWorkbench 😀
It is a good starting point.

Regards,
Stefano

Hi, Stefano! Thanks a lot! I use 4.6.0 for today. It's a good news that STM32CubeMX - v 4.7.0 supports SystemWorkbench!
Best Regards,
Sergey.

France

Hi Sergey,

Just a light warn: System Workbench for STM32 support in CubeMX is still a bit experimental and exhibit a few quirks; these are discussed in details in thread SW4STM32 or CubeMX to init STM32 device.

Best regards and thanks for your support,

Bernard