Date:2011-02-11 12:53:11 (13 years 1 month ago)
Author:Werner Almesberger
Commit:85612e515003046b048756e007c288032263d9be
Message:fw2/Makefile: use the ATmega32U2 configuration (experimental) of avrdude

- Makefile (prog): use $(CHIP) instead of $(CHIP_AVRDUDE)
- Makefile (CHIP_AVRDUDE): removed
Files: atusb/fw2/Makefile (2 diffs)

Change Details

atusb/fw2/Makefile
33     -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
44
55CHIP=atmega32u2
6CHIP_AVRDUDE=at90usb162 # @@@ fix this when support for the ATmega32U2 becomes
7            # available
86
97AVR_PREFIX = $(BIN_PATH) avr-
108CC = $(AVR_PREFIX)gcc
...... 
4240        scp $(NAME).bin jlime:
4341
4442prog:
45        ssh jlime avrdude -F -p $(CHIP_AVRDUDE) -c nanonote_atusb -e \
43        ssh jlime avrdude -F -p $(CHIP) -c nanonote_atusb -e \
4644          -U flash:w:$(NAME).bin:r \
4745          -U lfuse:w:0x60:m # external clock, slow start-up
4846

Archive Download the corresponding diff file



interactive