Subversion Repositories FlightCtrl

Rev

Rev 903 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 903 Rev 909
Line 14... Line 14...
14
VERSION_INDEX    =  10
14
VERSION_INDEX    =  10
Line 15... Line 15...
15
 
15
 
16
VERSION_COMPATIBLE = 7  # PC-Kompatibilität
16
VERSION_COMPATIBLE = 7  # PC-Kompatibilität
17
#-------------------------------------------------------------------
17
#-------------------------------------------------------------------
18
#OPTIONS
18
#OPTIONS
19
# Use on of the extensions für a gps solution
-
 
20
# If no extension is used the support for the MK3MAG only is included.
19
# Use one of the extensions for a gps solution
21
#EXT = KILLAGREG
20
#EXT = KILLAGREG
-
 
21
#EXT = NAVICTRL
22
#EXT = NAVICTRL
22
EXT = MK3MAG
Line 23... Line 23...
23
#-------------------------------------------------------------------
23
#-------------------------------------------------------------------
24
 
24
 
25
ifeq ($(MCU), atmega644)
25
ifeq ($(MCU), atmega644)
Line 95... Line 95...
95
ifeq ($(MCU), atmega644p)
95
ifeq ($(MCU), atmega644p)
96
SRC += uart1.c
96
SRC += uart1.c
97
endif
97
endif
98
ifeq ($(EXT), KILLAGREG)
98
ifeq ($(EXT), KILLAGREG)
99
SRC += mm3.c mymath.c gps.c ubx.c
99
SRC += mm3.c mymath.c gps.c ubx.c
100
else
100
endif
-
 
101
ifeq ($(EXT), MK3MAG)
101
SRC += mk3mag.c
102
SRC += mk3mag.c mymath.c gps.c ubx.c
102
endif
103
endif
103
ifeq ($(EXT), NAVICTRL)
104
ifeq ($(EXT), NAVICTRL)
104
SRC += spi.c
105
SRC += spi.c
105
endif
106
endif
106
##########################################################################################################
107
##########################################################################################################
Line 147... Line 148...
147
CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_COMPATIBLE=$(VERSION_COMPATIBLE) -DVERSION_INDEX=$(VERSION_INDEX)
148
CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR) -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_COMPATIBLE=$(VERSION_COMPATIBLE) -DVERSION_INDEX=$(VERSION_INDEX)
Line 148... Line 149...
148
 
149
 
149
ifeq ($(EXT), KILLAGREG)
150
ifeq ($(EXT), KILLAGREG)
150
 CFLAGS += -DUSE_KILLAGREG
151
 CFLAGS += -DUSE_KILLAGREG
-
 
152
endif
-
 
153
ifeq ($(EXT), MK3MAG)
-
 
154
 CFLAGS += -DUSE_MK3MAG
151
endif
155
endif
152
ifeq ($(EXT), NAVICTRL)
156
ifeq ($(EXT), NAVICTRL)
153
 CFLAGS += -DUSE_NAVICTRL
157
 CFLAGS += -DUSE_NAVICTRL
Line 154... Line 158...
154
endif
158
endif