# ====================================================================== # 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=atmega8 OBJECTS = main.o FLASH_CMD = avrdude -c usbtiny -pm8 -U flash:w:main.hex #xtal #FUSES_CMD = avrdude -c usbtiny -pm8 -U hfuse:w:0xd9:m -U lfuse:w:0xef:m #ext clk FUSES_CMD = avrdude -c usbtiny -pm8 -U hfuse:w:0xd9:m -U lfuse:w:0xe0:m STACK = 32 FLASH = 2048 SRAM = 128 include $(USBTINY)/common.mk