AVR Drivers: Difference between revisions

Jump to navigation Jump to search
m
m (moving stuff to compiling)
Line 201: Line 201:


See [[Modifying BLF-VLD]] for programming notes.
See [[Modifying BLF-VLD]] for programming notes.
=== 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.
In general:
* turn off debugging information and capabilities for release version
* optimize for size with general setting like "-Os"
* optimize for size with other custom settings


==Other Issues==
==Other Issues==
confirmed
36

edits

Navigation menu