You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- PROGNAME = at28wr
- USBDEV = /dev/cuaU0
- BAUDS = 115200
- AVRDUDEARGS = -F -V -c arduino -P $(USBDEV) -b $(BAUDS)
- AVRDUDEMCU = atmega328p
- TARGET = $(PROGNAME).hex
- AVRA = avra
-
- # Rules
-
- .PHONY: send all clean
-
- all: $(TARGET)
- @echo Done!
-
- send: $(PROGNAME).hex
- avrdude $(AVRDUDEARGS) -p $(AVRDUDEMCU) -U flash:w:$<
-
- $(TARGET): at28wr.asm
- $(AVRA) -o $@ at28wr.asm
-
- clean:
- rm -f $(TARGET) *.S.eep.hex *.S.obj
|