Subversion Repositories FlightCtrl

Rev

Rev 976 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 976 Rev 977
Line 7... Line 7...
7
NEBEN_VERSION    =  70
7
NEBEN_VERSION    =  70
8
VERSION_INDEX    =   3
8
VERSION_INDEX    =   3
Line 9... Line 9...
9
 
9
 
10
VERSION_KOMPATIBEL = 8  # PC-Kompatibilität
10
VERSION_KOMPATIBEL = 8  # PC-Kompatibilität
-
 
11
#-------------------------------------------------------------------
-
 
12
#
-
 
13
#-------------------------------------------------------------------
-
 
14
# comment out for Quadro, uncomment for Hexakopter
-
 
15
HEXAKOPTER		= _HEXA
Line 11... Line 16...
11
#-------------------------------------------------------------------
16
#-------------------------------------------------------------------
12
 
17
 
Line 13... Line 18...
13
ifeq ($(MCU), atmega32)
18
ifeq ($(MCU), atmega32)
14
# FUSE_SETTINGS= -u -U lfuse:w:0xff:m -U hfuse:w:0xcf:m
19
# FUSE_SETTINGS= -u -U lfuse:w:0xff:m -U hfuse:w:0xcf:m
Line 15... Line 20...
15
 
20
 
16
 HEX_NAME = MEGA32
21
 HEX_NAME = MEGA32$(HEXAKOPTER)
17
endif
22
endif
18
 
23
 
19
ifeq ($(MCU), atmega644)
24
ifeq ($(MCU), atmega644)
20
FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
25
FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
Line 21... Line 26...
21
#FUSE_SETTINGS = -U lfuse:w:0xff:m -U hfuse:w:0xdf:m  
26
#FUSE_SETTINGS = -U lfuse:w:0xff:m -U hfuse:w:0xdf:m  
22
# -u  bei neuen Controllern wieder einspielen
27
# -u  bei neuen Controllern wieder einspielen
23
 HEX_NAME = MEGA644
28
 HEX_NAME = MEGA644$(HEXAKOPTER)
24
endif
29
endif
Line 25... Line 30...
25
 
30
 
26
ifeq ($(MCU), atmega644p)
31
ifeq ($(MCU), atmega644p)
Line 127... Line 132...
127
#CFLAGS += -std=c99
132
#CFLAGS += -std=c99
128
CFLAGS += -std=gnu99
133
CFLAGS += -std=gnu99
Line 129... Line 134...
129
 
134
 
Line -... Line 135...
-
 
135
CFLAGS += -DVERSION_HAUPTVERSION=$(HAUPT_VERSION) -DVERSION_NEBENVERSION=$(NEBEN_VERSION) -DVERSION_KOMPATIBEL=$(VERSION_KOMPATIBEL) -DVERSION_INDEX=$(VERSION_INDEX)
-
 
136
 
-
 
137
ifeq ($(HEXAKOPTER), _HEXA)
Line 130... Line 138...
130
CFLAGS += -DVERSION_HAUPTVERSION=$(HAUPT_VERSION) -DVERSION_NEBENVERSION=$(NEBEN_VERSION) -DVERSION_KOMPATIBEL=$(VERSION_KOMPATIBEL) -DVERSION_INDEX=$(VERSION_INDEX)
138
 CFLAGS += -DHEXAKOPTER
131
 
139
endif
132
 
140
 
133
# Optional assembler flags.
141
# Optional assembler flags.