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