2024-09-01 06:34 AM
Default Image Configuation setting is :
Framework Features:
Size of .bin file
Touch Gfx setting in IOC file:
I also followed the link:
But still size is 2.13 GB.
Can you please help me to reduce the size of binary?
2024-09-01 08:09 AM
Don't use a .BIN to describe two regions with large separation within the ARM's 4GB address space.
Use a .HEX, or divide into two or more .BINs describing the 0x08000000 and 0x90000000 regions separately.
2024-09-01 08:14 AM
In project settings uncheck bin file create.... you have hex ok.
2024-09-01 08:45 AM
I am using this command
arm-none-eabi-objcopy.exe -O binary --only-section=ExtFlashSection "${BuildArtifactFileBaseName}.elf" ExtFlash.bin;arm-none-eabi-objcopy.exe -O binary --remove-section=ExtFlashSection "${BuildArtifactFileBaseName}.elf" STM32F746.bin
From mentioned link in query.
I need bin file for FPU. How can I create different file from hex?
2024-09-01 09:10 AM
I don't expect the functionality of objcopy has changed. Review the command documentation and man page.
Check you're using the same/correct naming for the sections in the .ELF file. Check the .LD and what's described in the .MAP file
2024-09-02 04:37 AM
Hello @shiv50084 ,
We made a video about reducing flash size : How to TouchGFX: Save flash memory
You could also check your compiler setting to reduce size (-Os for size optimization in GCC).
I hope this helps. :smiling_face_with_smiling_eyes:
If this comment or another one solved your problem, I invite you to select it as "best answer".
Regards,
2024-09-13 05:40 AM
Hello @shiv50084 ,
Have you been able to solve your problem?
If so, I invite you to select the comment that helped you the most as "best answer". :smiling_face_with_smiling_eyes:
Regards,