multiwii / baseflight

32 bit fork of the MultiWii RC flight controller firmware
496 stars 354 forks source link

Make: Change debug optimisation level to fit within flash size #291

Closed tracernz closed 8 years ago

tracernz commented 8 years ago

Advantages:

Disadvantages:

[1] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-Ofast-903

-Og Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.

ghost commented 8 years ago

Can one of the admins verify this patch?

trollcop commented 8 years ago

ok to test