Skip to main content
Brad Stewart
Associate II
January 26, 2021
Solved

Importing System Workbench Project into STM32Cube IDE

  • January 26, 2021
  • 3 replies
  • 1347 views

I was able to import STMF4DISCOVERY_Ethernet-Phy-SystemWorkbench project into STM32Cube IDE. However, it seems the pathnames are a bit messed up. For example, it failed to find the make file. So is there a cookbook procedure to do this? Or am I better off just using SystemWrokbench?

This topic has been closed for replies.
Best answer by Cartu38 OpenDev

Not fully aware of example you're looking at. But here is way to deal properly with examples import.

1) If luckily your example is part of integrated ones (sounds work in progress here release after release) example import can be done relying on example selector

Let's try this way: File> Import > General > Import STM32Cube Example

0693W000007Cm5BQAS.jpg 

2) If your example is not available let's try : File > Open Project From File System

Helping you by the end takes care to promote path in sync with following highlight (i.e. include folder under SW4STM32 repository)

0693W000007Cm5LQAS.jpg

3 replies

Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II
January 26, 2021

Not fully aware of example you're looking at. But here is way to deal properly with examples import.

1) If luckily your example is part of integrated ones (sounds work in progress here release after release) example import can be done relying on example selector

Let's try this way: File> Import > General > Import STM32Cube Example

0693W000007Cm5BQAS.jpg 

2) If your example is not available let's try : File > Open Project From File System

Helping you by the end takes care to promote path in sync with following highlight (i.e. include folder under SW4STM32 repository)

0693W000007Cm5LQAS.jpg

Markus GIRDLAND
ST Employee
January 27, 2021

Cartu38s answer is really good. If you need additional information there is also a migration guide available here.

Brad Stewart
Associate II
January 27, 2021

Thanks. I tried that but didn't work. So I switched to System Workbench and got it loaded. Unfortunately, the example had faulty code and produced many compile errors. I used an Ethernet example here: http://blog.tkjelectronics.dk/2012/08/ethernet-on-stm32f4discovery-using-external-phy/

I did download the demo code examples from the STM32F407 Eval website. Unfortunately, it was only binary images as explained in UM1492. Where can I find the source?

Cartu38 OpenDev
Graduate II
January 28, 2021

Works like a charm on my side if doing a small patch to such example code source (not STM one by the way ...):

0693W000007CygxQAC.jpgI've just done File>Open Project From File System then removed 'static' as part of highlighted line if snapshot. If not compiler is complaining your prototype is not in sync. with function implementation what's a good warning ...