3331 |
kaklik |
1 |
# ====================================================================== |
|
|
2 |
# Makefile for i2c-tiny-usb |
|
|
3 |
# |
|
|
4 |
# Copyright (C) 2006 Till Harbaum |
|
|
5 |
# |
|
|
6 |
# This is free software, licensed under the terms of the GNU General |
|
|
7 |
# Public License as published by the Free Software Foundation. |
|
|
8 |
# ====================================================================== |
|
|
9 |
USBTINY = ./usbtiny |
|
|
10 |
TARGET_ARCH = -DF_CPU=12000000 -DUSBTINY -mmcu=atmega8 |
|
|
11 |
OBJECTS = main.o |
|
|
12 |
FLASH_CMD = avrdude -c usbasp -p atmega8 -U lfuse:w:0x9f:m -U hfuse:w:0xc9:m -U flash:w:main.hex |
|
|
13 |
STACK = 32 |
|
|
14 |
FLASH = 8192 |
|
|
15 |
SRAM = 1024 |
|
|
16 |
|
|
|
17 |
include $(USBTINY)/common.mk |