1 |
# ====================================================================== |
1 |
# ====================================================================== |
2 |
# Makefile for i2c-tiny-usb |
2 |
# Makefile for i2c-tiny-usb |
3 |
# |
3 |
# |
4 |
# Copyright (C) 2006 Till Harbaum |
4 |
# Copyright (C) 2006 Till Harbaum |
5 |
# |
5 |
# |
6 |
# This is free software, licensed under the terms of the GNU General |
6 |
# This is free software, licensed under the terms of the GNU General |
7 |
# Public License as published by the Free Software Foundation. |
7 |
# Public License as published by the Free Software Foundation. |
8 |
# ====================================================================== |
8 |
# ====================================================================== |
9 |
USBTINY = ./usbtiny |
9 |
USBTINY = ./usbtiny |
10 |
TARGET_ARCH = -DF_CPU=12000000 -DUSBTINY -mmcu=atmega8 |
10 |
TARGET_ARCH = -DF_CPU=12000000 -DUSBTINY -mmcu=atmega8 |
11 |
OBJECTS = main.o |
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 |
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 |
13 |
STACK = 32 |
14 |
FLASH = 8192 |
14 |
FLASH = 8192 |
15 |
SRAM = 1024 |
15 |
SRAM = 1024 |
16 |
|
16 |
|
17 |
include $(USBTINY)/common.mk |
17 |
include $(USBTINY)/common.mk |