From 0990896f54184435b2bf80f57a2a1da0cf516b18 Mon Sep 17 00:00:00 2001 From: maniacbug Date: Tue, 19 Jul 2011 21:38:15 -0700 Subject: [PATCH] Added an .eu target to upload only the eeprom for AVR cpu. --- cpu/avr/Makefile.avr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/avr/Makefile.avr b/cpu/avr/Makefile.avr index 45de3badd..623879372 100644 --- a/cpu/avr/Makefile.avr +++ b/cpu/avr/Makefile.avr @@ -201,6 +201,9 @@ endif %.u: %.hex avrdude $(AVRDUDE_OPTIONS) $(AVRDUDE_PORT) $(AVRDUDE_PROGRAMMER) -p $(MCU) -U flash:w:$< +%.eu: %.eep + avrdude ${AVRDUDE_OPTIONS} -P ${AVRDUDE_PORT} -c ${AVRDUDE_PROGRAMMER} -p ${MCU} -U eeprom:w:$< + symbols.c: cp ${CONTIKI}/tools/empty-symbols.c symbols.c cp ${CONTIKI}/tools/empty-symbols.h symbols.h