Subversion Repositories FlightCtrl

Rev

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

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