2022-02-02 04:22 AM
Hi everyone,
I have a project for a dual core microcontroller (STM32H755) in CubeIDE structured as follows. I'm trying to export and import it to another CubeIDE via the import/export functions but I can never get it to import correctly.
Does anyone have experience with this or know if there is a procedure that explains how to do it?
Thank you
Solved! Go to Solution.
2022-03-01 01:56 AM
You can de-select the top-node in that wizard to get rid of the "*_expanded" folder. But that is just a cosmetic thing and should not effect the function.
The interesting part in your screenshots is that it is only files managed by CubeMX which has the "exclamation mark" icon. Files managed by IDE sysmem.c/syscalls.c are OK.
This leads me to believe that you have modified the Code generator option CubeMX:
If you use "Add necessary library files as references in the toolchain project configuration file", then you should probably run into this problem. Why?
If the above does not explain the issue, then:
2022-02-04 08:55 AM
The following approach works for me on an "empty" type project.
Select the right import wizard:
At this point I made the assumption that you have already exported your project as an "archive file".
For some reason the wizard lists each "core project" twice. I de-selected the second entries for cm4 and cm7. Doing it the opposite way around did not work.
After this I can build both projects.
This was a simple test with just an "Empty" type of project.
I tried the same with an STM32Cube project. That worked well too. I did in this case only see one project per core in the import dialog which is less confusing anyway..
2022-02-07 07:26 AM
Hi mattias,
thank you very much for the answer.
Project has been exported using "Export" > "Archive file" with following options:
For the "Import" i've selected all items from the menu
The project structure seems to be correct but many files (.c, .ioc) seem not to have been imported correctly. I've tried using a completely new workspace but that doesn't seem to fix it.
Am I doing something wrong when exporting?
The project is exported from a different computer from the import computer, so the paths are different but the project compile correctly and there are not missing dependencies.
Moreover, the project use TouchGFX plugin and of the microcontroller configurator through .ioc files.
2022-03-01 01:56 AM
You can de-select the top-node in that wizard to get rid of the "*_expanded" folder. But that is just a cosmetic thing and should not effect the function.
The interesting part in your screenshots is that it is only files managed by CubeMX which has the "exclamation mark" icon. Files managed by IDE sysmem.c/syscalls.c are OK.
This leads me to believe that you have modified the Code generator option CubeMX:
If you use "Add necessary library files as references in the toolchain project configuration file", then you should probably run into this problem. Why?
If the above does not explain the issue, then:
2022-03-02 05:27 AM
Hi mattias,.
yes, I think you've hit the problem.
Thank you very much for your reply.