cancel
Showing results for 
Search instead for 
Did you mean: 

problem with touchgfx and iar in cubemx 6

M3R
Associate II

hello

i use cubemx6 and iar

i create project with touchgfx in cubemx 6 and generate code in touchgfx file

When I compile there, there are several errors if this was not the case in the previous version of cube (v5).

how to resolve this?

7 REPLIES 7
Alexandre RENOUX
Principal

Hello,

Please list all the steps you did along with the errors you encountered, in order for us to be able to answer.

/Alexandre

M3R
Associate II

1-Config LTDC

2- Config FMC

3-Select Touchgfx 4.14 from additonal software

4-Config Touchgfx Software (Select LTDC Interface and ADD, DMA2D , ...)

5-Config Clock

6-Generate code for IAR

7-Generate code in Touchgfx

in the cubemx 5.6 create midlewares Folder and add touchgfx_core.a to program and in version 6 of cube does not create and add this folder and touchgfx_core.a to project

Alexandre RENOUX
Principal

What board/MCU are you configuring ? What compilation errors do you have ?

/Alexandre

when i use'd old version of cube (5.6) I do not have these errors.

my board is f429 and f743 custom.

0693W000004GSMNQA4.jpg

It looks like your files are not correctly referenced in your IAR project.

Are you sure you clicked on "Generate code" in TouchGFX Designer before building your project ?

Why did you need to create middlewares Folder and add touchgfx_core.a ? I don't believe this is necessary.

/Alexandre

M3R
Associate II

1-It looks like your files are not correctly referenced in your IAR project

Yes but in cube v5.6 I did not have these errors.

2-Are you sure you clicked on "Generate code" in TouchGFX Designer before building your project ?

Yes, I build another project And I did.

3-Why did you need to create middlewares Folder and add touchgfx_core.a ? I don't believe this is necessary.

In version 5.6 this folder is created and the touchgfx_core.a is added.

I think I have an error because these folders are not added

Could you enclose your .ioc file to see if I have the same issue when generating code ?

/Alexandre