# ====================================================================== # Template Makefile # # Copyright 2006-2010 Dick Streefland # # This is free software, licensed under the terms of the GNU General # Public License as published by the Free Software Foundation. # ====================================================================== #link the usbtiny directory here USBTINY = usbtiny TARGET_ARCH = -mmcu=attiny2313 OBJECTS = main.o FLASH_CMD = avrdude -c usbtiny -pt2313 -U flash:w:main.hex #xtal FUSES_CMD = avrdude -c usbtiny -pt2313 -U hfuse:w:0xdf:m -U lfuse:w:0xff:m #ext clk #FUSES_CMD = avrdude -c usbtiny -pt2313 -U hfuse:w:0xdf:m -U lfuse:w:0xe0:m STACK = 32 FLASH = 2048 SRAM = 128 include $(USBTINY)/common.mk