TGX: Very large external flash file
Hello,
I am using Touchgfx v4.16.1 with an STM32F469 Discovery Board.
I used Touchgfx Designer to generate two different applications for the Discovery Board. In both cases when I build the applications using the makefile, the external Flash file that is created is over 2 GB. I looked at the mapfile for each application and for both applications the memory used in the external flash space is much, much smaller. One of the external applications does not have any images in it so the external flash is only being used for fonts (approximately 400 bytes of memory). I removed the "-g" option from the makefile to try to eleminate the creation of debug symbols but that did not help.
I can use Designer to load these applications onto the Discovery board and they run fine. I know the external flash file is much, much larger than the external flash on the Discovery board so it appears that only part of it is being loaded.
I have used TGX previously and did not have this issue. The size of the external flash file generated in my previous application correlated with the number of images and fonts in the application. However this is the first time I am using the autogenerated makefile from Designer. Unfortunately I do not have access to the makefile from my older application so I cannot compare the two.
Why is there such a mismatch between what is actually being put in external flash and the size of the file? I feel like I am overlooking something silly but I do not know what. Any insight would be appreciated.
Thanks.