blob: c26878d489a100f64068502f9e0907148c2cdce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# ======================================================================
# 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
|