Rev 1994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1994 | Rev 1995 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #-------------------------------------------------------------------- |
1 | #-------------------------------------------------------------------- |
2 | # MCU name |
2 | # MCU name |
3 | #MCU = atmega1284p |
3 | MCU = atmega1284p |
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 = 86 |
8 | VERSION_MINOR = 86 |
9 | VERSION_PATCH = 3 |
9 | VERSION_PATCH = 3 |
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 = 27 # Navi-Kompatibilität |
12 | NC_SPI_COMPATIBLE = 27 # Navi-Kompatibilität |
- | 13 | MOD = JETI+V0.20 |
|
13 | #------------------------------------------------------------------- |
14 | #------------------------------------------------------------------- |
Line 14... | Line 15... | ||
14 | 15 | ||
15 | # get SVN revision |
16 | # get SVN revision |
Line 40... | Line 41... | ||
40 | FORMAT = ihex |
41 | FORMAT = ihex |
Line 41... | Line 42... | ||
41 | 42 | ||
Line 42... | Line 43... | ||
42 | # Target file name (without extension). |
43 | # Target file name (without extension). |
43 | 44 | ||
44 | ifeq ($(VERSION_PATCH), 0) |
45 | ifeq ($(VERSION_PATCH), 0) |
45 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)a_SVN$(REV) |
46 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)a_SVN$(REV)_$(MOD) |
46 | endif |
47 | endif |
47 | ifeq ($(VERSION_PATCH), 1) |
48 | ifeq ($(VERSION_PATCH), 1) |
48 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)b_SVN$(REV) |
49 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)b_SVN$(REV)_$(MOD) |
49 | endif |
50 | endif |
50 | ifeq ($(VERSION_PATCH), 2) |
51 | ifeq ($(VERSION_PATCH), 2) |
51 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)c_SVN$(REV) |
52 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)c_SVN$(REV)_$(MOD) |
52 | endif |
53 | endif |
53 | ifeq ($(VERSION_PATCH), 3) |
54 | ifeq ($(VERSION_PATCH), 3) |
54 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)d_SVN$(REV) |
55 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)d_SVN$(REV)_$(MOD) |
55 | endif |
56 | endif |
56 | ifeq ($(VERSION_PATCH), 4) |
57 | ifeq ($(VERSION_PATCH), 4) |
57 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)e_SVN$(REV) |
58 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)e_SVN$(REV)_$(MOD) |
58 | endif |
59 | endif |
59 | ifeq ($(VERSION_PATCH), 5) |
60 | ifeq ($(VERSION_PATCH), 5) |
60 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)f_SVN$(REV) |
61 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)f_SVN$(REV)_$(MOD) |
61 | endif |
62 | endif |
62 | ifeq ($(VERSION_PATCH), 6) |
63 | ifeq ($(VERSION_PATCH), 6) |
63 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)g_SVN$(REV) |
64 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)g_SVN$(REV)_$(MOD) |
64 | endif |
65 | endif |
65 | ifeq ($(VERSION_PATCH), 7) |
66 | ifeq ($(VERSION_PATCH), 7) |
66 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)h_SVN$(REV) |
67 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)h_SVN$(REV)_$(MOD) |
67 | endif |
68 | endif |
68 | ifeq ($(VERSION_PATCH), 8) |
69 | ifeq ($(VERSION_PATCH), 8) |
69 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)i_SVN$(REV) |
70 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)i_SVN$(REV)_$(MOD) |
70 | endif |
71 | endif |
71 | ifeq ($(VERSION_PATCH), 9) |
72 | ifeq ($(VERSION_PATCH), 9) |
72 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)j_SVN$(REV) |
73 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)j_SVN$(REV)_$(MOD) |
73 | endif |
74 | endif |
74 | ifeq ($(VERSION_PATCH), 10) |
75 | ifeq ($(VERSION_PATCH), 10) |
75 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)k_SVN$(REV) |
76 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)k_SVN$(REV)_$(MOD) |
76 | endif |
77 | endif |
77 | ifeq ($(VERSION_PATCH), 11) |
78 | ifeq ($(VERSION_PATCH), 11) |
78 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)L_SVN$(REV) |
79 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)L_SVN$(REV)_$(MOD) |
79 | endif |
80 | endif |
80 | ifeq ($(VERSION_PATCH), 12) |
81 | ifeq ($(VERSION_PATCH), 12) |
81 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)m_SVN$(REV) |
82 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)m_SVN$(REV)_$(MOD) |
82 | endif |
83 | endif |
83 | ifeq ($(VERSION_PATCH), 13) |
84 | ifeq ($(VERSION_PATCH), 13) |
84 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)n_SVN$(REV) |
85 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)n_SVN$(REV)_$(MOD) |
85 | endif |
86 | endif |
86 | ifeq ($(VERSION_PATCH), 14) |
87 | ifeq ($(VERSION_PATCH), 14) |
87 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)o_SVN$(REV) |
88 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)o_SVN$(REV)_$(MOD) |
88 | endif |
89 | endif |
89 | ifeq ($(VERSION_PATCH), 15) |
90 | ifeq ($(VERSION_PATCH), 15) |
90 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)p_SVN$(REV) |
91 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)p_SVN$(REV)_$(MOD) |
91 | endif |
92 | endif |
92 | ifeq ($(VERSION_PATCH), 16) |
93 | ifeq ($(VERSION_PATCH), 16) |
93 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)q_SVN$(REV) |
94 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)q_SVN$(REV)_$(MOD) |
94 | endif |
95 | endif |
95 | ifeq ($(VERSION_PATCH), 17) |
96 | ifeq ($(VERSION_PATCH), 17) |
96 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)r_SVN$(REV) |
97 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)r_SVN$(REV)_$(MOD) |
97 | endif |
98 | endif |
98 | ifeq ($(VERSION_PATCH), 18) |
99 | ifeq ($(VERSION_PATCH), 18) |
99 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)s_SVN$(REV) |
100 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)s_SVN$(REV)_$(MOD) |
100 | endif |
101 | endif |
101 | ifeq ($(VERSION_PATCH), 19) |
102 | ifeq ($(VERSION_PATCH), 19) |
102 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)t_SVN$(REV) |
103 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)t_SVN$(REV)_$(MOD) |
103 | endif |
104 | endif |
104 | ifeq ($(VERSION_PATCH), 20) |
105 | ifeq ($(VERSION_PATCH), 20) |
105 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)u_SVN$(REV) |
106 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)u_SVN$(REV)_$(MOD) |
106 | endif |
107 | endif |
107 | ifeq ($(VERSION_PATCH), 21) |
108 | ifeq ($(VERSION_PATCH), 21) |
108 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)v_SVN$(REV) |
109 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)v_SVN$(REV)_$(MOD) |
109 | endif |
110 | endif |
110 | ifeq ($(VERSION_PATCH), 22) |
111 | ifeq ($(VERSION_PATCH), 22) |
111 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)w_SVN$(REV) |
112 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)w_SVN$(REV)_$(MOD) |
112 | endif |
113 | endif |
113 | ifeq ($(VERSION_PATCH), 23) |
114 | ifeq ($(VERSION_PATCH), 23) |
114 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)x_SVN$(REV) |
115 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)x_SVN$(REV)_$(MOD) |
115 | endif |
116 | endif |
116 | ifeq ($(VERSION_PATCH), 24) |
117 | ifeq ($(VERSION_PATCH), 24) |
117 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)y_SVN$(REV) |
118 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)y_SVN$(REV)_$(MOD) |
118 | endif |
119 | endif |
119 | ifeq ($(VERSION_PATCH), 25) |
120 | ifeq ($(VERSION_PATCH), 25) |
Line 120... | Line 121... | ||
120 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)z_SVN$(REV) |
121 | TARGET = Flight-Ctrl_$(HEX_NAME)_V$(VERSION_MAJOR)_$(VERSION_MINOR)z_SVN$(REV)_$(MOD) |
121 | endif |
122 | endif |
Line 325... | Line 326... | ||
325 | 326 | ||
326 | finished: |
327 | finished: |
Line 327... | Line 328... | ||
327 | @echo $(MSG_ERRORS_NONE) |
328 | @echo $(MSG_ERRORS_NONE) |
- | 329 | ||
328 | 330 | end: |
|
329 | end: |
331 | @echo MaxSize Flashsize is 63488 bytes on Atmega644 |
Line 330... | Line 332... | ||
330 | @echo $(MSG_END) |
332 | @echo $(MSG_END) |