cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Peripherals and Code Generation in System Workbench for STM32

KIbra.3
Associate II

Hello,

I am using a firmware package with the System Workbench for STM32 IDE and would like to ask how I can configure a peripheral and integrate it into my code.

Additionally, does it support code generation similar to STM32CubeMX?

Thank you in advance!

 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello,

Unfortunately, new versions of CubeMx cannot generate project for System Workbench. To my knowledge only older Mx versions do. New versions of CubeMx generates projects for CubeIDE, KEIL and IAR.

If you have an old project with  System Workbench, you can use CubeMx to generate the code separately and copy paste the generated code in your code source.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
mƎALLEm
ST Employee

Hello,

Unfortunately, new versions of CubeMx cannot generate project for System Workbench. To my knowledge only older Mx versions do. New versions of CubeMx generates projects for CubeIDE, KEIL and IAR.

If you have an old project with  System Workbench, you can use CubeMx to generate the code separately and copy paste the generated code in your code source.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

The System Workbench is Not Recommended for New Designs (NRND) - and has been for many years now.

You could try https://www.openstm32.org/HomePage for legacy support.

 

The current free ST IDE is STM32CubeIDE.

Yes, STM32CubeMX generates code for CubeIDE.

Note: from CubeIDE v2.0.0, CubeIDE and CubeMX are separate applications.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@mƎALLEm wrote:

new versions of CubeMx cannot generate project with CubeIDE (sic?).


You mean System Workbench?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@Andrew Neil wrote:

@mƎALLEm wrote:

new versions of CubeMx cannot generate project with CubeIDE (sic?).


You mean System Workbench?


Indeed!! Sorry for the typo. That's a result of being in meeting and managing the community in parallel. I will fix the typo then.. Seems I cannot manage several tasks in parallel :D

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Andrew Neil wrote:

The System Workbench is Not Recommended for New Designs (NRND) - and has been for many years now..


@mƎALLEm  Should that be updated to "Obsolete" ?

Also, the Product Page is all written in the present tense:

"The System Workbench toolchain, called SW4STM32, is (sic) a free multi-OS software development environment based on Eclipse, which supports (sic) the full range of STM32 microcontrollers and associated boards"

That should all be past tense now, surely?

"The System Workbench toolchain, called SW4STM32, was a free multi-OS software development environment based on Eclipse, which supported  the full range of STM32 microcontrollers and associated boards available back in 2019"

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.