16,10 → 16,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) |
97,9 → 97,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 |
149,6 → 150,9 |
ifeq ($(EXT), KILLAGREG) |
CFLAGS += -DUSE_KILLAGREG |
endif |
ifeq ($(EXT), MK3MAG) |
CFLAGS += -DUSE_MK3MAG |
endif |
ifeq ($(EXT), NAVICTRL) |
CFLAGS += -DUSE_NAVICTRL |
endif |