why was the project generated by touchGFX can NOT be compiled successfully by MDK or cubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-23 8: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)
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-24 5:35 AM
Have you changed the toolchain in CubeMX in the Project Manager tab? After generating with CubeMX, generate again with TouchGFX Designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-28 8: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.
