Subversion Repositories FlightCtrl

Compare Revisions

Regard whitespace Rev 755 → Rev 756

/branches/V0.68d Code Redesign killagreg/makefile
19,12 → 19,12
FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
#FUSE_SETTINGS = -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
# -u bei neuen Controllern wieder einspielen
HEX_NAME = MEGA644
HEX_NAME = MEGA644_$(COMPASS)
endif
 
ifeq ($(MCU), atmega644p)
FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
HEX_NAME = MEGA644p
HEX_NAME = MEGA644p_$(COMPASS)
endif
 
 
37,12 → 37,10
endif
 
ifeq ($(COMPASS), MM3)
HEX_NAME +=MM3
CFLAGS += -DUSE_MM3
endif
 
ifeq ($(COMPASS), CMPS03)
HEX_NAME +=CMPS03
CFLAGS += -DUSE_CMPS03
endif
 
83,7 → 81,10
##########################################################################################################
# List C source files here. (C dependencies are automatically generated.)
SRC = main.c uart.c printf_P.c timer0.c timer2.c analog.c menu.c
SRC += twimaster.c rc.c fc.c GPS.c spi.c eeprom.c
SRC += twimaster.c rc.c fc.c GPS.c spi.c eeprom.c mymath.c ubx.c fifo.c
ifeq ($(MCU), atmega644p)
SRC += uart1.c
endif
ifeq ($(COMPASS), MM3)
SRC +=mm3.c
endif
90,10 → 91,6
ifeq ($(COMPASS), CMPS03)
SRC +=cmps03.c
endif
SRC += mymath.c ubx.c fifo.c
ifeq ($(MCU), atmega644p)
SRC += uart1.c
endif
##########################################################################################################