Skip to main content
M3R
Associate II
September 16, 2020
Question

problem with touchgfx and iar in cubemx 6

  • September 16, 2020
  • 3 replies
  • 1445 views

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?

This topic has been closed for replies.

3 replies

Alexandre RENOUX
Visitor II
September 17, 2020

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
M3RAuthor
Associate II
September 18, 2020

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
Visitor II
September 18, 2020

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

/Alexandre

M3R
M3RAuthor
Associate II
September 18, 2020

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

Alexandre RENOUX
Visitor II
September 18, 2020

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