2023-03-23 08:21 AM
Hi,
I generated the following demo by touchGFX and can run the demo in touchGFX.
But when I open the generated project by MDK and compile it, it turns out some errors as below:(seems the project just include the port.c and portmacro.h for GCC, NOT for ARM compiler)
2023-03-24 05:35 AM
Have you changed the toolchain in CubeMX in the Project Manager tab? After generating with CubeMX, generate again with TouchGFX Designer.
2023-03-28 08:30 AM
Yes, anyway, I can generate the compilable project now, maybe I have some mistakes last time. sorry!
But I found that after I change UI and generate code by touchGFX, every time, I must run cubeMx and generate the project again, otherwise, the project will compiler fail.