2019-04-04 02:44 AM
Hello,
When building my project using touchgfx, I generate a specific binary file for some images. So for the testing purpose I create a section with only one image of one black pixel. So basically this image in binary format should be around 2 bytes in 16BPP. However the binary seems to include in addition to this image some debug information like "GCC: (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]" etc.
It does not seems to have a specific release or debug configuration in the makefile. the overhead in the in quite unlikely and in some of the other binary, I also have some absolute path of my own computer. Is there any way to remove all those information ?
Regards,
2019-04-10 01:04 AM
Can you show us some examples of what you're experiencing? By default we use arm-none-eabi-strip to strip libtouchgfx.a when building the core library with arm-gcc (And equivalent for gcc).
2019-05-14 04:42 AM
Any update on this @SBACO ?
2019-05-27 01:23 AM
Sorry for late reply, I was off for a few days. I am sorry to say that I do not find any solutions... I am afraid I will have to deal with it. It is just disapointing to lose so much memory for nothing.
2020-07-13 06:04 AM
Hello, I know this post it a little bit old, but I'm seeing a lot of code information from the touchgfx library in the microcontroller's binary. I checked optimization, also I stripped debug info, unneeded and other flags, and the same.
Any idea what can be happening?
Here is a picture of what I'm seeing in the binary. I don't think this was compiled as a debug info.
Thank you in advance.