Ported to avr-gcc