Subversion Repositories FlightCtrl

Rev

Rev 2176 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2176 Rev 2177
Line 4... Line 4...
4
#MCU = atmega644p
4
#MCU = atmega644p
5
F_CPU = 20000000
5
F_CPU = 20000000
6
#-------------------------------------------------------------------
6
#-------------------------------------------------------------------
7
VERSION_MAJOR    =   0
7
VERSION_MAJOR    =   0
8
VERSION_MINOR    =  88
8
VERSION_MINOR    =  88
9
VERSION_PATCH    =  12
9
VERSION_PATCH    =  13
10
VERSION_SERIAL_MAJOR = 11  	# Serial Protocol
10
VERSION_SERIAL_MAJOR = 11  	# Serial Protocol
11
VERSION_SERIAL_MINOR = 0  	# Serial Protocol
11
VERSION_SERIAL_MINOR = 0  	# Serial Protocol
12
NC_SPI_COMPATIBLE = 51		# Navi-Kompatibilität
12
NC_SPI_COMPATIBLE = 51		# Navi-Kompatibilität
-
 
13
MOD				 = ACC-HH
13
#-------------------------------------------------------------------
14
#-------------------------------------------------------------------
14
# ATMEGA644: 63487 is maximum
15
# ATMEGA644: 63487 is maximum
15
#-------------------------------------------------------------------#-------------------------------------------------------------------
16
#-------------------------------------------------------------------#-------------------------------------------------------------------
16
# 0 a
17
# 0 a
17
# 1 b
18
# 1 b
Line 55... Line 56...
55
FORMAT = ihex
56
FORMAT = ihex
Line 56... Line 57...
56
 
57
 
Line 57... Line 58...
57
# Target file name (without extension).
58
# Target file name (without extension).
58
 
59
 
59
ifeq ($(VERSION_PATCH), 0)
60
ifeq ($(VERSION_PATCH), 0)
60
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)a_SVN$(REV)
61
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)a_SVN$(REV)_$(MOD)
61
endif
62
endif
62
ifeq ($(VERSION_PATCH), 1)
63
ifeq ($(VERSION_PATCH), 1)
63
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)b_SVN$(REV)
64
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)b_SVN$(REV)_$(MOD)
64
endif
65
endif
65
ifeq ($(VERSION_PATCH), 2)
66
ifeq ($(VERSION_PATCH), 2)
66
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)c_SVN$(REV)
67
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)c_SVN$(REV)_$(MOD)
67
endif
68
endif
68
ifeq ($(VERSION_PATCH), 3)
69
ifeq ($(VERSION_PATCH), 3)
69
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)d_SVN$(REV)
70
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)d_SVN$(REV)_$(MOD)
70
endif
71
endif
71
ifeq ($(VERSION_PATCH), 4)
72
ifeq ($(VERSION_PATCH), 4)
72
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)e_SVN$(REV)
73
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)e_SVN$(REV)_$(MOD)
73
endif
74
endif
74
ifeq ($(VERSION_PATCH), 5)
75
ifeq ($(VERSION_PATCH), 5)
75
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)f_SVN$(REV)
76
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)f_SVN$(REV)_$(MOD)
76
endif
77
endif
77
ifeq ($(VERSION_PATCH), 6)
78
ifeq ($(VERSION_PATCH), 6)
78
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)g_SVN$(REV)
79
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)g_SVN$(REV)_$(MOD)
79
endif
80
endif
80
ifeq ($(VERSION_PATCH), 7)
81
ifeq ($(VERSION_PATCH), 7)
81
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)h_SVN$(REV)
82
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)h_SVN$(REV)_$(MOD)
82
endif
83
endif
83
ifeq ($(VERSION_PATCH), 8)
84
ifeq ($(VERSION_PATCH), 8)
84
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)i_SVN$(REV)
85
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)i_SVN$(REV)_$(MOD)
85
endif
86
endif
86
ifeq ($(VERSION_PATCH), 9)
87
ifeq ($(VERSION_PATCH), 9)
87
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)j_SVN$(REV)
88
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)j_SVN$(REV)_$(MOD)
88
endif
89
endif
89
ifeq ($(VERSION_PATCH), 10)
90
ifeq ($(VERSION_PATCH), 10)
90
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)k_SVN$(REV)
91
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)k_SVN$(REV)_$(MOD)
91
endif
92
endif
92
ifeq ($(VERSION_PATCH), 11)
93
ifeq ($(VERSION_PATCH), 11)
93
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)L_SVN$(REV)
94
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)L_SVN$(REV)_$(MOD)
94
endif
95
endif
95
ifeq ($(VERSION_PATCH), 12)
96
ifeq ($(VERSION_PATCH), 12)
96
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)m_SVN$(REV)
97
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)m_SVN$(REV)_$(MOD)
97
endif
98
endif
98
ifeq ($(VERSION_PATCH), 13)
99
ifeq ($(VERSION_PATCH), 13)
99
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)n_SVN$(REV)
100
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)n_SVN$(REV)_$(MOD)
100
endif
101
endif
101
ifeq ($(VERSION_PATCH), 14)
102
ifeq ($(VERSION_PATCH), 14)
102
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)o_SVN$(REV)
103
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)o_SVN$(REV)_$(MOD)
103
endif
104
endif
104
ifeq ($(VERSION_PATCH), 15)
105
ifeq ($(VERSION_PATCH), 15)
105
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)p_SVN$(REV)
106
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)p_SVN$(REV)_$(MOD)
106
endif
107
endif
107
ifeq ($(VERSION_PATCH), 16)
108
ifeq ($(VERSION_PATCH), 16)
108
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)q_SVN$(REV)
109
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)q_SVN$(REV)_$(MOD)
109
endif
110
endif
110
ifeq ($(VERSION_PATCH), 17)
111
ifeq ($(VERSION_PATCH), 17)
111
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)r_SVN$(REV)
112
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)r_SVN$(REV)_$(MOD)
112
endif
113
endif
113
ifeq ($(VERSION_PATCH), 18)
114
ifeq ($(VERSION_PATCH), 18)
114
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)s_SVN$(REV)
115
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)s_SVN$(REV)_$(MOD)
115
endif
116
endif
116
ifeq ($(VERSION_PATCH), 19)
117
ifeq ($(VERSION_PATCH), 19)
117
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)t_SVN$(REV)
118
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)t_SVN$(REV)_$(MOD)
118
endif
119
endif
119
ifeq ($(VERSION_PATCH), 20)
120
ifeq ($(VERSION_PATCH), 20)
120
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)u_SVN$(REV)
121
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)u_SVN$(REV)_$(MOD)
121
endif
122
endif
122
ifeq ($(VERSION_PATCH), 21)
123
ifeq ($(VERSION_PATCH), 21)
123
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)v_SVN$(REV)
124
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)v_SVN$(REV)_$(MOD)
124
endif
125
endif
125
ifeq ($(VERSION_PATCH), 22)
126
ifeq ($(VERSION_PATCH), 22)
126
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)w_SVN$(REV)
127
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)w_SVN$(REV)_$(MOD)
127
endif
128
endif
128
ifeq ($(VERSION_PATCH), 23)
129
ifeq ($(VERSION_PATCH), 23)
129
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)x_SVN$(REV)
130
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)x_SVN$(REV)_$(MOD)
130
endif
131
endif
131
ifeq ($(VERSION_PATCH), 24)
132
ifeq ($(VERSION_PATCH), 24)
132
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)y_SVN$(REV)
133
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)y_SVN$(REV)_$(MOD)
133
endif
134
endif
134
ifeq ($(VERSION_PATCH), 25)
135
ifeq ($(VERSION_PATCH), 25)
Line 135... Line 136...
135
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)z_SVN$(REV)
136
TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)z_SVN$(REV)_$(MOD)
136
endif
137
endif