From: bg Date: Sat, 25 Aug 2012 17:30:46 +0000 (+0200) Subject: switching from avr911 to usbasp X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=commitdiff_plain;h=4655b60cc205079ebafec3db4a4b47f7a8336bda switching from avr911 to usbasp --- diff --git a/Makefile_m644_conf.inc b/Makefile_m644_conf.inc index 8d698e3..6014635 100644 --- a/Makefile_m644_conf.inc +++ b/Makefile_m644_conf.inc @@ -12,8 +12,10 @@ override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@)) $(DEBUG) override LDFLAGS = -gdwarf-2 -Wl,-Map, override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2 -PROGRAMMER = avr911 -PROG_PORT = /dev/ttyUSB1 +#PROGRAMMER = avr911 +#PROG_PORT = /dev/ttyUSB1 +PROGRAMMER = usbasp +PROG_PORT = usb DEFS = -D$(call uc, $(MCU_TARGET)) -DF_CPU=$(F_CPU) FLASHCMD = avrdude -p $(MCU_TARGET) -P $(PROG_PORT) -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