f2e96391cc
- Added photos of the stencil |
||
---|---|---|
.. | ||
README.md | ||
blinky.c | ||
blinky.hex |
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