Permalink
Browse files

proper define in makefile for the ATtiny13 (from avr/io.h)

  • Loading branch information...
RJ committed May 18, 2010
1 parent d1010a1 commit e7120d73af4040ceedee9c2a34c7929485f90d1b
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/Makefile
View
@@ -60,7 +60,7 @@ FUSES = -U hfuse:w:0xff:m -U lfuse:w:0x74:m
# Tune the lines below only if you know what you are doing:
AVRDUDE = avrdude $(PROGRAMMER) -p $(DEVICE)
-COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE)
+COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -D__AVR_ATtiny13__
# symbolic targets:
all: main.hex

0 comments on commit e7120d7

Please sign in to comment.