organized tests

This commit is contained in:
2019-04-10 11:52:35 +02:00
parent 65eb4d6ce2
commit bc8503b73e
5 changed files with 97 additions and 0 deletions

7
avr_tests/Makefile Normal file
View File

@@ -0,0 +1,7 @@
tests= usart_test.elf io_test.elf
all: $(tests)
%.elf:%.c
avr-gcc $< -mmcu=atmega168 -O -o $@
avrdude -p m168 -c avrispmkii -U flash:w:$@:a