Added an .eu target to upload only the eeprom for AVR cpu.

This commit is contained in:
maniacbug 2011-07-19 21:38:15 -07:00 committed by David Kopf
parent 8f0bb86c02
commit 0990896f54

View file

@ -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