2021-02-16 04:14 AM
Basically the same question as here:
https://community.st.com/s/question/0D53W00000Y2lIsSAJ/cant-usecreate-debug-config-for-oss7-stack
but making it generic - hopefully reaching a wider audience.
See also:
https://community.st.com/s/question/0D53W00000ZUp9hSAD/how-to-debug-a-makefile-project-in-cubeide
As it stands, it seems that importing a "plain, vanilla" Eclipse project into STM32 Cube IDE does not give the CubeIDE the metadata it needs for its Debug Configurations (among other things?) to work - and I can't see any way to add that metadata.
Similarly for a makefile project.
So the question is: how can we import a "plain vanilla" Eclipse (or makefile) Project into CubeIDE and get the debug to work?
2021-02-16 05:18 AM
Hi Andrew,
What you are looking to do is not possible in the current version of STM32CubeIDE...
That said your timing is pretty good.
In the upcoming release we introduce "beta support" for plain/vanilla Eclipse/CDT projects.
When I say Beta it means roughly:
But, we consider this "new" feature to add sufficient end-user value to introduce it already now instead of delaying for a later release. Since it is beta, it will also not be documented yet in the User Guide.
I can share in this thread how this project type compares to the existing "STM32Cube" and the "Empty" projects:
There are probably more interesting use cases that I don't have on top of my mind right now.
I guess this post only answers "what" can be done in the upcoming STM32CubeIDE 1.6.0.
It does not cover "how" to setup use case A or B... We can post a bit later on that or provide a separate Knowledge Article.
We are happy to listen to your feedback on this once you have given it a shot!
2021-02-16 05:54 AM
Thanks for that; all sounds very encouraging - looking forward to giving it a try!
:beaming_face_with_smiling_eyes:
Do you have a timeframe estimate - this quarter? next quarter? next year ... ?
The project in my previous post was, indeed, created by CMake.
2021-02-16 06:07 AM
Current release is 1.5.1. @mattias norlander is discussing about 1.6.0 release.
As embedded world event ( https://www.embedded-world.de/en/become-participant?gclid=EAIaIQobChMItZfdj8nu7gIVAZ_VCh2iEQyfEAAYAiAAEgIl8PD_BwE ) is quite close to us I guess this quarter is good option ;)
2021-02-23 04:36 AM
Cross referencing another problem with 1.5.1 importing a "plain vanilla" Eclipse (or makefile) Project:
2021-03-11 08:25 AM
That generalised thread suggests that CubeIDE v1.6.0 should handle importing "plain vanilla" Eclipse Projects better.
This thread has an example of using CubeIDE v1.6.0: https://community.st.com/s/question/0D53W00000aqNBiSAM/cubeide-imported-eclipse-c-project-incorrectly-defines-cplusplus
Shame that the forum doesn't support linking to a specific post:
2021-03-12 05:06 AM
Actually, it only works for a makefile project - it still doesn't work for an Eclipse project.