Difference between revisions of "AVR Drivers"

24 bytes added ,  14:40, 1 July 2013
m
Line 232: Line 232:
=== Optimizations ===
=== Optimizations ===


If you want a smaller code, use optimization for size for your compiler configuration. GCC uses "-Os" and you can find more useful optimizations and tricks via search, on [http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=90752 AVR Freaks] or elsewhere. Sometimes older GCC versions generate smaller code than the newer ones. Atmel uses AVR-GCC in it's toolchain as well, usually an older stable version.
If you want a smaller code, use optimization for size for your compiler configuration. GCC uses "-Os" and you can find more useful optimizations and tricks via search, on [http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=90752 AVR Freaks] or elsewhere. Sometimes older GCC versions generate smaller code than the newer ones. Atmel uses AVR-GCC in it's toolchain as well, and currently it's the same version as in MHV AVR Tools.


In general:
In general:
confirmed
36

edits