2024-09-13 07:13 AM
I created a project in TouchGFX Designer for the Nucleo-H563ZI dev kit as suggested by ST for projects that use TouchGFX. Once created I imported the existing project into STM32CubeIDE which was fine, however the project explorer in STM32CubeIDE does not show the .ioc file even though it exists in the actual project files.
I tried to copy a link to the .ioc into the CubeIDE project explorer but when I try to open it the IDE says it's not part of the project, however I can open it in CubeMX and generate files just fine. What am I missing?
Solved! Go to Solution.
2024-09-13 08:57 AM - edited 2024-09-13 09:00 AM
It is a naming issue. Rename the IOC file by replacing the underscore with hyphens. Then you should be able to drag the file onto the project and link it.
STM32H563ZI-NUCLEO-AZ2.ioc
Here you can see the IOC file opened after it was renamed to match the project name.
2024-09-13 07:21 AM - edited 2024-09-13 07:29 AM
Hello,
I reproduced the behavior, I will escalate it internally. I will get back to you for any feedback. (Internal ticket number 191086)
But you can still use the independent STM32CubeMx tool to open your ioc file.
2024-09-13 08:45 AM
It's probably a naming issue and some of the project files is looking for another name?
It's been awhile so i don't know what has changed in TouchGFX but here is a video that shows how to rename the project to a useful name and adding the IOC file.
https://youtu.be/AizWAlbU4Og?si=n1cpCbG-Npb5Ivkt
2024-09-13 08:57 AM - edited 2024-09-13 09:00 AM
It is a naming issue. Rename the IOC file by replacing the underscore with hyphens. Then you should be able to drag the file onto the project and link it.
STM32H563ZI-NUCLEO-AZ2.ioc
Here you can see the IOC file opened after it was renamed to match the project name.
2024-09-13 09:15 AM
That was it...hard to see that difference with underscore vs dash. Thanks!
2024-09-13 09:30 AM
I know exactly what you mean, lol.
When i added the IOC to the project, which produced the warning, my brain was telling me something isn't right. I didn't see the issue. So i deleted the IOC file and added it again. Again my brain sensed the issue right away but it took my eyes about a minute to then see the difference.