Date:2011-03-07 21:21:54 (13 years 21 days ago)
Author:Werner Almesberger
Commit:a8c10a00509df600f2d591cc661e3d98ff57f88b
Message:nxuart/fw/Makefile (prog): supply an 8 MHz clock while programming

Files: nxuart/fw/Makefile (2 diffs)

Change Details

nxuart/fw/Makefile
44NAME=nxuart
55CHIP=atmega48
66
7CLK_MHZ=8
8
79AVR_PREFIX = $(BIN_PATH) avr-
810CC = $(AVR_PREFIX)gcc
911OBJCOPY = $(AVR_PREFIX)objcopy
...... 
2325    scp $(NAME).bin jlime:
2426
2527prog:
26    ssh jlime avrdude -p atmega48 -c nanonote_$(NAME) \
27      -e -U flash:w:$(NAME).bin:r
28    ssh jlime avrdude -p atmega48 -c nanonote_$(NAME) -e \
29      -x clk=$(CLK_MHZ) \
30      -U flash:w:$(NAME).bin:r \
31      -U lfuse:w:0x60:m

Archive Download the corresponding diff file

Branches:
master



interactive