Hi,
I need to reduce a image size to a minimum. The project is a CANBUS Bootstrap that must fit under 4KB and be written in C.
I'm using MicroLIB, Link-Time Code Generation, -O3, ZI init.
What other compiler/assembler/linker settings could I possibly apply in order to shrink the image?
Thanks.
Before trying to shrink the image, what steps have you taken to ensure that your code generates an image that is as small as possible in the first place?
user.it.uu.se/.../engblom-esc-sf-2001.pdf
It's a good thing to point out but a different topic... The written code in in good shape. I'm NOT a fan of the GIGO methodology (Garbage In Garbage Out) ;-)