Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 907 → Rev 908

/branches/V0.69k Code Redesign killagreg/makefile
1,7 → 1,7
#--------------------------------------------------------------------
# MCU name
MCU = atmega644
#MCU = atmega644p
#MCU = atmega644
MCU = atmega644p
F_CPU = 20000000
#-------------------------------------------------------------------
VERSION_MAJOR = 0
11,10 → 11,10
VERSION_COMPATIBLE = 7 # PC-Kompatibilität
#-------------------------------------------------------------------
#OPTIONS
# Use on of the extensions für a gps solution
# If no extension is used the support for the MK3MAG only is included.
# Use one of the extensions for a gps solution
#EXT = KILLAGREG
#EXT = NAVICTRL
EXT = MK3MAG
#-------------------------------------------------------------------
 
ifeq ($(MCU), atmega644)
92,9 → 92,10
endif
ifeq ($(EXT), KILLAGREG)
SRC += mm3.c mymath.c gps.c ubx.c
else
SRC += mk3mag.c
endif
ifeq ($(EXT), MK3MAG)
SRC += mk3mag.c mymath.c gps.c ubx.c
endif
ifeq ($(EXT), NAVICTRL)
SRC += spi.c
endif
144,6 → 145,9
ifeq ($(EXT), KILLAGREG)
CFLAGS += -DUSE_KILLAGREG
endif
ifeq ($(EXT), MK3MAG)
CFLAGS += -DUSE_MK3MAG
endif
ifeq ($(EXT), NAVICTRL)
CFLAGS += -DUSE_NAVICTRL
endif