2021-01-26 10:55 AM
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?
Solved! Go to Solution.
2021-01-26 12:41 PM
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
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)
2021-01-26 12:41 PM
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
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)
2021-01-27 12:22 AM
Cartu38s answer is really good. If you need additional information there is also a migration guide available here.
2021-01-27 02:15 PM
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?
2021-01-27 11:28 PM
Works like a charm on my side if doing a small patch to such example code source (not STM one by the way ...):
I'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 ...