Programmation ISP
Exemple
CC=/usr/bin/avr-gcc CFLAGS=-g -Os -Wall -mcall-prologues -mmcu=atmega48 OBJ2HEX=/usr/bin/avr-objcopy UISP=/usr/bin/avrdude TARGET=blink
program : $(TARGET).hex $(UISP) -v -p AT90CAN128 -c jtag2isp -P usb -e -F -U flash:w:$(TARGET).hex:i %.obj : %.o $(CC) $(CFLAGS) $< -o $@ %.hex : %.obj $(OBJ2HEX) -R .eeprom -O ihex $< $@ clean : rm -f *.hex *.obj *.o