2020-02-17 05:19 AM
It seems like the various import mechanisms are making incorrect assumptions about file locations. Just tried to import from filesystem one of the example programs from Cube H7 V1.6.
I set the import to copy files so I wasn't going to corrupt the source.
Import seemed to work but when you try to look at the source files they aren't there because the path is completely wrong. e.g.
Looking here:
D:/Middlewares/Third_Party/FatFs/src/option/syscall.c
Actually imported here:
D:\Dropbox\STM32CubeIDE\workspace_1.2.0\FatFs_RAMDisk\Application\User\Core\syscall.c
When I tried to import a known good Atollic project the import failed with an error when trying to back up the project files.
Cube H7 V1.6 ( for STM32H7A3) no longer provides Atollic project versions and the CubeIDE versions are apparently completely useless and won't import into Atollic - THANKS !!!!
2020-02-17 07:12 AM
I believe you're using the wrong option. There is a "Import Atollic TrueSTUDIO Project" option but that doesn't have the "copy" option so I believe you're choosing something else.
Make a backup of the project and place it somewhere and then follow this user guide: (UM2578)
2020-02-17 08:49 AM
As per my original note.
I've tried to "copy" one of the Cube H7 V1.6 STM32CubeIDE example programs using "Open projects from file system". This gives the error that all the files are in the wrong place.
I've also tried to Import one of my "Atollic Truestudio project". This fails on the backup of the project files
I've also done as per UM2578 and this also fails because files paths are incorrect or the include directories aren't referenced or imported properly.
UPDATE:
Just tried UM2578 on another truestudio project and this time it ignores the import completely - no import, no error, nothing appears in the IDE workspace
2020-02-17 10:30 AM
@Community member . I would say definitively some documentation may lack but I wouldn't not say STM32CubeIDE is not working ...
You may face here some STM32Cube ecosystem specific way of working understanding lacks. I may agree maybe such is not so obvious ...
1) About Cube H7 V1.6 examples (and all STM32Cube example in fact whatever they are at that time) you CANNOT ASK for copy option importing them. Such is breaking your local copy content because such examples are heavily relying on symbolic links usage. Eclipse ( Eclipse native not STM32CubeIDE which is relying on ) is not able to resolve doing a copy. So you're getting feeling copy is done but you've missed most of material ... Only way to work is to import such examples WITHOUT asking for copy. I agree it's a pain ....
2) In sync: with @Markus GIRDLAND comment most probably you're not relying on proper feature to import your functional Atollic project. The ONLY way to do such is File > Import > General > Import Atollic TrueStudio Project. Such feature (quite explicit one by the way) is not allowing copy mode. If copy mode is not promoted maybe some good reason behind (most probably see previous topic because possibly links usage from time to time) so probably that's why your attempt is failing.
Have some extra try importing all such material. And please update us on your results ... it will hep for sure community.