git clone https://github.com/lpodkalicki/blog.git mv blog Lpodkalicki cdThen to build the first example:
cd Lpodkalicki/avr/attiny13/001_blinky_with_delay_function make avr-gcc -std=c99 -Wall -g -Os -mmcu=attiny13 -DF_CPU=1200000 -I. -o main.o main.c avr-ld -o main.elf main.o avr-objcopy -j .text -j .data -O ihex main.o main.hex avr-size -C --mcu=attiny13 main.elf AVR Memory Usage ---------------- Device: attiny13 Program: 72 bytes (7.0% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit)Unlike the toykeeper stuff, it just works!
The code is simple and clean, as are the Makefiles. Very nice.
Tom's Electronics pages / tom@mmto.org