9 years, 11 months ago.

ballooned exec, unused dependencies not optimized out

I'm compiling a 10 line example that just blinks an LED. However even though the online compiler says it uses less than 1K, the downloaded hex is 245K (too large for device). Is there something wrong with the optimizer? Is this a full system flash and there is something wrong with the platform target (it only has 128K but this is greater - nrf58122). Any ideas? Any way to configure? Thanks,

Question relating to:

1 Answer

9 years, 11 months ago.

I suspect you are noticing the same thing as reported here: https://developer.mbed.org/questions/5397/Size-of-hex-files.