diff --git a/README.md b/README.md index ab36185..dfbac1c 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,9 @@ Also I'd like to thank Walter for his footprints and 3d models here, they've bee The scale.pl script (libs/scale.pl) which was used to create the Kicadfiles for the KaBoard logo, can be found in this zip-archive:http://oshwlogo.com/logos/OSHW_logo_KiCad_scalable.zip All credits for this nice little script go to Robert Spitzenpfeil http://blog.spitzenpfeil.org/wordpress/ +The original optiboot code can be found under http://optiboot.googlecode.com. +It is distributed under GNU General Public License Version 2. + The anything else in the project folder, like the board layout, the schmeatics and the KaBoard logo, are published under Attribution-ShareAlike 3.0 (see https://creativecommons.org/licenses/by-sa/3.0/) diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..9cffd7b --- /dev/null +++ b/test/README.md @@ -0,0 +1,9 @@ +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 +``` \ No newline at end of file diff --git a/test/blinky.c b/test/blinky.c new file mode 100644 index 0000000..d0e5153 --- /dev/null +++ b/test/blinky.c @@ -0,0 +1,19 @@ +#include +#include + +int main(void) { + + DDRB |= (1 << PB0); + + int i; + + while(1) { + + PORTB ^= (1 << PB0); + for(i = 0; i < 250; i++) { + _delay_ms(1); + } + + } + return 0; +} \ No newline at end of file diff --git a/test/blinky.hex b/test/blinky.hex new file mode 100644 index 0000000..9f9a25a --- /dev/null +++ b/test/blinky.hex @@ -0,0 +1,7 @@ +:1000000012C019C018C017C016C015C014C013C044 +:1000100012C011C010C00FC00EC00DC00CC00BC06C +:100020000AC009C008C011241FBECFE5D4E0DEBF5E +:10003000CDBF02D011C0E4CFB89A21E088B38227A7 +:1000400088BB8AEF90E0EFE9FFE03197F1F700C05D +:0C00500000000197C1F7F2CFF894FFCF39 +:00000001FF