Commit | Line | Data |
---|---|---|
54de37bf | 1 | |
93cb14d4 | 2 | SRC = src/main.c |
54de37bf PH |
3 | |
4 | ################################################################################ | |
5 | ################################################################################ | |
6 | ||
7 | AVRDUDE_PROGRAMMER = avrisp2 | |
8 | MCU=attiny25 | |
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 | ||
7c08d02a | 27 | CFLAGS+=-DONLY_2K -DMM_USE_REGISTER_VARS |
93cb14d4 PH |
28 | |
29 | ||
54de37bf PH |
30 | |
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 |