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