Subversion Repositories FlightCtrl

Rev

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

Rev 2045 Rev 2048
Line 17... Line 17...
17
# Use one of the extensions for a gps solution
17
# Use one of the extensions for a gps solution
18
#EXT = NAVICTRL
18
#EXT = NAVICTRL
19
EXT = DIRECT_GPS
19
EXT = DIRECT_GPS
20
#EXT =
20
#EXT =
Line 21... Line 21...
21
 
21
 
22
GYRO=ENC-03_FC1.3
22
#GYRO=ENC-03_FC1.3
23
GYRO_HW_NAME=ENC
23
#GYRO_HW_NAME=ENC
24
GYRO_HW_FACTOR=1.304f
-
 
25
GYRO_PITCHROLL_CORRECTION=1.0f
-
 
26
GYRO_YAW_CORRECTION=1.0f
-
 
27
 
-
 
28
#GYRO=ADXRS610_FC2.0
-
 
29
#GYRO_HW_NAME=ADXR
-
 
30
#GYRO_HW_FACTOR=1.2288f
24
#GYRO_HW_FACTOR=1.304f
31
#GYRO_PITCHROLL_CORRECTION=1.0f
25
#GYRO_PITCHROLL_CORRECTION=1.0f
Line -... Line 26...
-
 
26
#GYRO_YAW_CORRECTION=1.0f
-
 
27
 
-
 
28
GYRO=ADXRS610_FC2.0
-
 
29
GYRO_HW_NAME=ADXR
-
 
30
GYRO_HW_FACTOR=1.2288f
-
 
31
GYRO_PITCHROLL_CORRECTION=1.0f
32
#GYRO_YAW_CORRECTION=1.0f
32
GYRO_YAW_CORRECTION=1.0f
33
 
33
 
34
#GYRO=invenSense
34
#GYRO=invenSense
35
#GYRO_HW_NAME=Isense
35
#GYRO_HW_NAME=Isense
36
#GYRO_HW_FACTOR=0.6827f
36
#GYRO_HW_FACTOR=0.6827f
Line 127... Line 127...
127
#OPT = s
127
#OPT = s
Line 128... Line 128...
128
 
128
 
129
##########################################################################################################
129
##########################################################################################################
130
# List C source files here. (C dependencies are automatically generated.)
130
# List C source files here. (C dependencies are automatically generated.)
131
SRC = main.c uart0.c printf_P.c timer0.c timer2.c analog.c menu.c output.c controlMixer.c 
131
SRC = main.c uart0.c printf_P.c timer0.c timer2.c analog.c menu.c output.c controlMixer.c 
132
SRC += externalControl.c dongfangMath.c twimaster.c rc.c attitude.c flight.c 
132
SRC += externalControl.c compassControl.c dongfangMath.c twimaster.c rc.c attitude.c flight.c 
Line 133... Line 133...
133
SRC += eeprom.c heightControl.c configuration.c attitudeControl.c commands.c $(GYRO).c 
133
SRC += eeprom.c heightControl.c configuration.c attitudeControl.c commands.c $(GYRO).c 
134
 
134
 
135
ifeq ($(EXT), DIRECT_GPS)
135
ifeq ($(EXT), DIRECT_GPS)