“Although writing in AVR assembly makes it easy to write programs that fit in a small codespace, writing in C and using AVR Libc is more convenient. This article outlines how to write C code that avr-gcc will build to a minimal size. There are a number of other guides for writing small AVR code including AVR 4027, but none of them seem to address the overhead of avr-gcc’s start-up library (gcrt1).”
Related Content
Related Posts:
- Debugging an Arduino project with GDB on Classic ATtiny and Small ATmega MCUs
- SingleWireSerial - Arduino Library that Supports Single-Wire Half-Duplex Serial Communication
- Control AVR 8 bit Timer-Counter0 using AVR-GCC
- Lightweight AVR assembler functions
- Writing AVR assembler code with the Arduino IDE
- AVR Optimizations
- Tiny AVR Programmer
- AVRgpp ISP and UPDI programmer
- AVR Programmer W/High Voltage
- Arduino Clone Breeding T-Rig