trennfix/sw: Register variables, restructuring, whatever
[eisenbahn.git] / trennfix / sw / mk / trennfix_attiny85.mk
CommitLineData
54de37bf 1
93cb14d4 2SRC = src/main.c
54de37bf 3
7c08d02a 4
54de37bf
PH
5################################################################################
6################################################################################
7
8AVRDUDE_PROGRAMMER = avrisp2
93cb14d4 9MCU=attiny85
54de37bf
PH
10F_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 20LFUSE=0x61
7c08d02a
PH
21
22ifneq ($(KEEP_EEPROM),)
23
93cb14d4 24HFUSE=0xd4
7c08d02a
PH
25
26else
27
28HFUSE=0xdc
29
30endif
31
54de37bf
PH
32EFUSE=0xff
33
34
35
36
37
38
39
40
41