15,10 → 15,14 |
#OPTIONS |
|
# Use one of the extensions for a gps solution |
#EXT = KILLAGREG |
EXT = NAVICTRL |
EXT = KILLAGREG |
#EXT = NAVICTRL |
#EXT = MK3MAG |
|
# Use optional one the RCs if EXT = NAVICTRL has been used |
#RC = DSL |
#RC = SPECTRUM |
|
# Use one of the motor setups |
|
# Standard |
158,7 → 162,7 |
########################################################################################################## |
# List C source files here. (C dependencies are automatically generated.) |
SRC = main.c uart0.c printf_P.c timer0.c timer2.c analog.c menu.c led.c |
SRC += twimaster.c rc.c fc.c eeprom.c fifo.c uart1.c |
SRC += twimaster.c rc.c fc.c eeprom.c uart1.c |
|
ifeq ($(EXT), KILLAGREG) |
SRC += mm3.c mymath.c gps.c ubx.c |
168,7 → 172,13 |
endif |
ifeq ($(EXT), NAVICTRL) |
SRC += spi.c |
ifeq ($(RC), DSL) |
SRC += dsl.c |
endif |
ifeq ($(RC), SPECTRUM) |
SRC += spectrum.c |
endif |
endif |
########################################################################################################## |
|
|
220,7 → 230,13 |
endif |
ifeq ($(EXT), NAVICTRL) |
CFLAGS += -DUSE_NAVICTRL |
ifeq ($(RC), DSL) |
CFLAGS += -DUSE_RC_DSL |
endif |
ifeq ($(RC), SPECTRUM) |
CFLAGS += -DUSE_RC_SPECTRUM |
endif |
endif |
|
ifeq ($(SETUP), QUADRO) |
CFLAGS += -DUSE_QUADRO |