Subversion Repositories FlightCtrl

Rev

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

Rev 1221 Rev 1222
Line 2... Line 2...
2
# MCU name
2
# MCU name
3
MCU = atmega644p
3
MCU = atmega644p
4
F_CPU = 20000000
4
F_CPU = 20000000
5
#-------------------------------------------------------------------
5
#-------------------------------------------------------------------
6
VERSION_MAJOR    =  0
6
VERSION_MAJOR    =  0
7
VERSION_MINOR    =  72
7
VERSION_MINOR    =  73
8
VERSION_PATCH    =  15
8
VERSION_PATCH    =  3
Line 9... Line 9...
9
 
9
 
10
VERSION_SERIAL_MAJOR = 10	# Serial Protocol Major Version
10
VERSION_SERIAL_MAJOR = 10	# Serial Protocol Major Version
11
VERSION_SERIAL_MINOR = 0	# Serial Protocol Minor Version
11
VERSION_SERIAL_MINOR = 1	# Serial Protocol Minor Version
Line 12... Line 12...
12
NC_SPI_COMPATIBLE = 5 		# SPI Protocol Version
12
NC_SPI_COMPATIBLE = 6 		# SPI Protocol Version
13
 
13
 
Line 14... Line 14...
14
#-------------------------------------------------------------------
14
#-------------------------------------------------------------------
Line 21... Line 21...
21
 
21
 
22
# Use optional one the RCs if EXT = NAVICTRL has been used
22
# Use optional one the RCs if EXT = NAVICTRL has been used
23
RC = DSL
23
RC = DSL
Line 24... Line -...
24
#RC = SPECTRUM
-
 
25
 
-
 
26
# Use one of the motor setups
-
 
27
 
-
 
28
# Standard
-
 
29
SETUP = QUADRO
-
 
30
# 2 Arms in Front
-
 
31
#SETUP = OCTO
-
 
32
# 1 Arm in front
-
 
33
#SETUP = OCTO2
-
 
34
# 1 Arm with two Motors in front or Coax
-
 
35
#SETUP = OCTO3
-
 
36
 
-
 
37
#------------
-
 
38
#   Quadro:
-
 
39
#     1 
-
 
40
#   4   3
-
 
41
#     2 
-
 
42
#------------
-
 
43
# Reverse Props on 1 2 
-
 
44
 
-
 
45
#------------
-
 
46
#   Octo:
-
 
47
#    1 2
-
 
48
#  8     3
-
 
49
#  7     4
-
 
50
#    6 5 
-
 
51
#------------
-
 
52
 
-
 
53
#------------
-
 
54
#    Octo2:
-
 
55
#      1 
-
 
56
#    8   2
-
 
57
#  7       3
-
 
58
#    6   4    
-
 
59
#      5
-
 
60
#------------
-
 
61
 
-
 
62
#------------
-
 
63
#   Octo3:
-
 
64
#      1 
-
 
65
#      2
-
 
66
# 8 7     3 4
-
 
67
#      5
-
 
68
#      6
-
 
69
#------------
-
 
70
# Reverse Props on octo: 1 3 5 7
-
 
71
 
24
#RC = SPECTRUM
72
 
25
 
73
#-------------------------------------------------------------------
26
#-------------------------------------------------------------------
Line 74... Line 27...
74
# get SVN revision
27
# get SVN revision
75
REV := $(shell sh -c "cat .svn/entries | sed -n '4p'")
28
REV := $(shell sh -c "cat .svn/entries | sed -n '4p'")
76
 
29
 
77
ifeq ($(MCU), atmega644)
30
ifeq ($(MCU), atmega644)
Line 78... Line 31...
78
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
31
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
79
 HEX_NAME = MEGA644_$(EXT)_$(RC)_$(SETUP)
32
 HEX_NAME = MEGA644_$(EXT)_$(RC)
80
endif
33
endif
81
 
34
 
Line 82... Line 35...
82
ifeq ($(MCU), atmega644p)
35
ifeq ($(MCU), atmega644p)
83
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
36
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m