X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=avr-makefile.inc;h=77cae4daaa5f44df15af6cc786a9bd6bd5b3a5b0;hb=a3e1c2903dd75b77176dd7a1b13e5a87ef04e7f5;hp=741ede554e0e0b360918ce1899c06795835e07fe;hpb=d6a35f05fd2b5ee79d5ad8424434ad1a068be453;p=avr-crypto-lib.git diff --git a/avr-makefile.inc b/avr-makefile.inc index 741ede5..77cae4d 100644 --- a/avr-makefile.inc +++ b/avr-makefile.inc @@ -1,8 +1,9 @@ MCU_TARGET = atmega644 OPTIMIZE = -Os +PROGRAMMER = stk500v2 # avr911 DEFS = -D$(call uc, $(MCU_TARGET)) -FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:# no space at the end +FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c $(PROGRAMMER) -U flash:w:# no space at the end #FLASHCMD = avrdude -p $(MCU_TARGET) -c usbasp -U flash:w:# no space at the end DEP_DIR = deps/ BIN_DIR = bin/