Commit | Line | Data |
---|---|---|
54de37bf | 1 | |
93cb14d4 | 2 | SRC = src/main.c |
54de37bf PH |
3 | |
4 | ################################################################################ | |
5 | ################################################################################ | |
6 | ||
7 | AVRDUDE_PROGRAMMER = avrisp2 | |
dc41eb22 | 8 | MCU?=attiny25 |
54de37bf PH |
9 | F_CPU = 16000000 |
10 | ||
11 | # Fuse-Bits gibts praktisch bei http://www.engbedded.com/fusecalc ! | |
12 | # 8 MHz interner RC-Oszillator usw. Brown out 4V | |
93cb14d4 | 13 | |
7c08d02a PH |
14 | ifneq ($(KEEP_EEPROM),) |
15 | ||
93cb14d4 | 16 | HFUSE=0xd4 |
7c08d02a PH |
17 | |
18 | else | |
19 | ||
20 | HFUSE=0xdc | |
21 | ||
22 | endif | |
23 | ||
24 | LFUSE=0x61 | |
54de37bf PH |
25 | EFUSE=0xff |
26 | ||
dc41eb22 | 27 | #CFLAGS+= -DMM_FILTER_REPEATED |
dc41eb22 PH |
28 | CFLAGS+= -DUSE_REGISTER_VARS |
29 | CFLAGS+= -DWITH_EEPROM_UPDATE | |
30 | CFLAGS+= -DWITH_PWM | |
31 | CFLAGS+= -DWITH_SOUND | |
32 | CFLAGS+= -DWITH_INITIAL_PULSE | |
54de37bf | 33 |