cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX folders do not appear in the IAR workspace after generating the project.

Epamuk
Associate III

Hello, I made a lot of project with Touchgfx . I started a new project with  STM32U599ZI, IAR 9.60.3 , Touchgfx 4.26.1 , CubeMx 6.17.0 , STM32CubeU5 MCU package V1.8.0.  

I created project from Cube, than I double clicked touchgfx file under TOUCHGFX folder.I created a dummy project with only a red box and I clicked generate code on TouchGFX as I always do. But when I open IAR project I cannot see TouchGFX folder on IAR workspace window  and when I try to build project, IAR gives a lot of erros about not founded Touchgfx files.  Touchgfx files and folders ara exist in my project folder but not in IAR workspace window.

My colluage has same proglem with STM32L4R5A mcu . I tried rebuild all, clean project, creating project from CubeMX from zero, but I could not find a solution.

Can you give any solution.

IAR_workspace.png

ProjectFolder.png

ProjectFolder2.png

IAR_preprocessor_IncludeDirectories.png

1 ACCEPTED SOLUTION

Accepted Solutions
Epamuk
Associate III

I opened one of my old projects ( 1 year old ) from L4 family with CubeID. I reset pinouts and change to U5 from "List Pinout Compatible MCUs" and selected U599. Cube created a new project then I defined only needed peripherals for TouchGfx .  Now all the Touchgfx Folders created on IAR ide. 

View solution in original post

3 REPLIES 3
MGogr.1
Senior

Do you get similar problem with Cube IDE?

If not, then can you switch to ide.

I have also faced similar kind of problem where code in IAR was not working but fine with cube ide.

Epamuk
Associate III

Thank you for your help but I dont want to use Cube IDE. I guess there is a bug in CubeMx for IAR IDE.

Thanks.

Epamuk
Associate III

I opened one of my old projects ( 1 year old ) from L4 family with CubeID. I reset pinouts and change to U5 from "List Pinout Compatible MCUs" and selected U599. Cube created a new project then I defined only needed peripherals for TouchGfx .  Now all the Touchgfx Folders created on IAR ide.