Variables assigned to ram are increasing elf file size (=> occupying flash)

Rachel Sapir rachel@agito.co.il
Tue Sep 1 10:21:34 GMT 2020


Hello,

I noticed that when I increase array sizes (I have some very big arrays)
the .elf file is increased by the same size. Since the elf file is saved to
the flash, it occupies flash area unnecessarily.

Is there a way to prevent this from happening?

Best regards,
Rachel


More information about the Gcc-help mailing list