2020-12-03 11:38 PM
I want to open the ***.eww file with STM32CubeIDE program.
And compile and debugging.
How to open the ***.eww file with STMRECubeIDE program?
2020-12-04 01:18 AM
Hi,
The EWARM workspace and project files uses their native project format. It is not known by Eclipse/CDT/STM32CubeIDE. So this is not possible.
If the workspace/project you want to open is from an ST provided example projects, then there should be STM32CubeIDE or SW4STM32 or TrueSTUDIO provided examples in the package which can be imported. But I assume this is not the case.
Best practice to "import" an EWARM workspace/project would be to instead start a new workspace/project from scratch in CubeIDE. Either an Empty or STM32Cube project. Your preference really... Maybe you can then drag-drop resources across and try to compare the build settings to make sure include paths/symbols and other flags are set correctly. It is a bit time consuming. If you are experienced with Eclipse it may take 1-2h to port this workspace/project depending on the size of course.
What you need to take care about is that startup code and linker script cannot be copied across from IAR to CubeIDE since the toolchains are totally different. Also compiler intrinsics and inline assembly need to be ported. But if sticking exclusively to C/C++ the effort is not so high.
2020-12-06 11:27 PM
Thanks for answer.
But I must convert from "the IAR Embedded Workbench IDE - Arm 8.40.2" to "the STM32CubeIDE" tools for my company.
Could you teach more the converting sequence?
Thank you.
2020-12-07 01:14 AM
Hi,
What is your confidence level in CubeIDE? Absolute beginner? Advanced user or somewhere in between? Difficult to guide without knowing the context...
We have a User Guide pdf for CubeIDE for the steps below I suggest you look at various chapter in this manual to get detailed guidance:
https://www.st.com/resource/en/user_manual/dm00629856-stm32cubeide-user-guide-stmicroelectronics.pdf
I think the best available document on migration from IAR still is this:
http://info.atollic.com/hubfs/IAR_2_Atollic_TrueSTUDIO_MigrationGuide_ARM.pdf
This document however covers IAR --> TrueSTUDIO. CubeIDE is in this respect however very similar to TrueSTUDIO so the majority of content is till true.
To summarize what needs to be done, you can approach this activity like this:
I would try to build the project after step4 just to see how many build errors I get and use that to guide the remaining work.
It is hard to elaborate more, each project / environment and related requirements are a bit unique so there will always be specific needs...
Kind regards, Mattias