From 85612e515003046b048756e007c288032263d9be Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 11 Feb 2011 08:53:11 -0300 Subject: [PATCH] fw2/Makefile: use the ATmega32U2 configuration (experimental) of avrdude - Makefile (prog): use $(CHIP) instead of $(CHIP_AVRDUDE) - Makefile (CHIP_AVRDUDE): removed --- atusb/fw2/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atusb/fw2/Makefile b/atusb/fw2/Makefile index eedd116..c315854 100644 --- a/atusb/fw2/Makefile +++ b/atusb/fw2/Makefile @@ -3,8 +3,6 @@ CFLAGS = -g -Wall -Wextra -Wshadow -Werror -Wno-unused \ -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes CHIP=atmega32u2 -CHIP_AVRDUDE=at90usb162 # @@@ fix this when support for the ATmega32U2 becomes - # available AVR_PREFIX = $(BIN_PATH) avr- CC = $(AVR_PREFIX)gcc @@ -42,7 +40,7 @@ upload: $(NAME).bin scp $(NAME).bin jlime: prog: - ssh jlime avrdude -F -p $(CHIP_AVRDUDE) -c nanonote_atusb -e \ + ssh jlime avrdude -F -p $(CHIP) -c nanonote_atusb -e \ -U flash:w:$(NAME).bin:r \ -U lfuse:w:0x60:m # external clock, slow start-up