[En-Nut-Discussion] Bootloader compiler optimisation

Henrik Maier hmlists at focus-sw.com
Thu Nov 15 02:03:50 CET 2007


Just a note for all those who have to squeeze a few more bytes into the AVR
boot loader code. The compiler options -mno-interrupts -mtiny-stack apply
special optimisations (which are of course are only suitable for a
bootloader).

Not sure if this also works for the ARM, but it saves around 64 bytes on the
AVR.

Henrik





More information about the En-Nut-Discussion mailing list