kaboard/test
sebastian c5baf9195e Added the missing files for the last commit ... d'oh 2013-01-19 16:49:23 +01:00
..
README.md - Added simple serial test programm 2013-01-19 16:43:55 +01:00
blinky.c Added a simple blinky test program to test the optiboot loader 2013-01-10 20:23:11 +01:00
blinky.hex Added a simple blinky test program to test the optiboot loader 2013-01-10 20:23:11 +01:00
serial.c Added the missing files for the last commit ... d'oh 2013-01-19 16:49:23 +01:00
serial.elf Added the missing files for the last commit ... d'oh 2013-01-19 16:49:23 +01:00
serial.hex Added the missing files for the last commit ... d'oh 2013-01-19 16:49:23 +01:00

README.md

How to compile

Since I'm to lazy to write a proper makefile:

avr-gcc -Wall -Os -mmcu=atmega8 -DF_CPU=16000000 blinky.c -o blinky.elf
avr-objcopy -O ihex blinky.elf blinky.hex
avrdude -v -c arduino -p atmega8 -P /dev/ttyUSB0 -b 115200 -U flash:w:blinky.hex
avr-gcc -Wall -Os -mmcu=atmega8 -DF_CPU=16000000 serial.c -o serial.elf
avr-objcopy -O ihex serial.elf serial.hex
avrdude -v -c arduino -p atmega8 -P /dev/ttyUSB0 -b 115200 -U flash:w:serial.hex