From 4655b60cc205079ebafec3db4a4b47f7a8336bda Mon Sep 17 00:00:00 2001 From: bg Date: Sat, 25 Aug 2012 19:30:46 +0200 Subject: [PATCH] switching from avr911 to usbasp --- Makefile_m644_conf.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5