2021-02-15 10:21 AM
I've imported a SW4STM example into CubeIDE, it worked fine.
Then I import this already converted project into another CubeIDE workspace and this fails.
The project becomes "orphaned", no toolchain defined.
It looks like CubeIDE creates duplicate Debug config. After import there's two configurations named Debug.
I deleted one and the 'orphaned' error disappeared. But the project still does not build, something is broken. :(
CubeIDE version 1.5.1 on Ubuntu, target MCU is STM32H743
-- pa
2021-02-16 12:40 AM
Just so I get a clear understanding of the issue:
2021-02-16 12:52 PM
Hi Markus, thanks for your attention
-- pa
2021-02-17 01:46 AM
Hello again!
I tried this with the GPIO_EXTI example located at C:\Users\userName\STM32Cube\Repository\STM32Cube_FW_H7_V1.6.0\Projects\NUCLEO-H743ZI\Examples\GPIO\GPIO_EXTI using STM32CubeIDE 1.5.1 but I wasn't able to reproduce the behavior.
These were my steps:
Do you move the project at all for use in "workspace 2" or copy it to a new location? The firmware packages have a lot of references inside the firmware package structure that requires the package to be consistent in its structure.
Did you close STM32CubeIDE after step 2 in my list above?
If I'm missing some step or misunderstanding then please let me know!
2021-02-18 12:17 PM
Hi Markus,
The 2nd time I don't select "copy project into workspace".
I'd like it to stay in the original place with all its dependencies.
The problem is not that it won't build successfully after 2nd import, but that it even loses some basic features (natures or whatever)
-- pa
2021-02-19 12:21 AM
"copy project into workspace" is not supported at all because STM32Cube examples are heavily relying on symbolic link like Eclipse feature. Doing local copy is killer here because Eclipse does not manage link remapping properly then.
According to me such is part of documentation : https://www.st.com/resource/en/user_manual/dm00613836-migration-guide-from-system-workbench-to-stm32cubeide-stmicroelectronics.pdf
If expecting to copy locally example material, if hopefully part of supported ones, please rely on dedicated import example feature which is promoted as part of STM32CubeIDE