Statistics
| Revision:

root / branch / zemeta / Emb_App / conf_noyau.cfg @ 543

History | View | Annotate | Download (5.24 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2013/01/08 15:28:33
6
//
7
////////////////////////////////////////////////////////////////////////////////
8

    
9
// system definition
10
system{
11
	stack_size	= 256;
12
	priority	= 8;
13
	system_IPL	 = 4;
14
	message_pri	 = 1;
15
	timeout	 = YES;
16
	task_pause	 = YES;
17
	tic_nume	 = 1;
18
	tic_deno	 = 1;
19
};
20

    
21
// max definition
22
maxdefine{
23
	max_task	= 3;
24
	max_flag	= 3;
25
	max_dtq	= 2;
26
	max_cyh	= 1;
27
	max_vdtq	= 1;
28
};
29

    
30
// system clock definition
31
clock{
32
	mpu_clock	= 20.000000MHz;
33
	timer	= A0;
34
	IPL	= 3;
35
};
36

    
37
task[]{
38
	entry_address	= main();
39
	name	= ID_main;
40
	stack_size	= 512;
41
	stack_section	= stack;
42
	priority	= 8;
43
	initial_start	= ON;
44
	exinf	= 0x0;
45
};
46
task[]{
47
	entry_address	= periph_tx();
48
	name	= ID_periph_tx;
49
	stack_size	= 256;
50
	stack_section	= stack;
51
	priority	= 3;
52
	initial_start	= ON;
53
	exinf	= 0x0;
54
};
55
task[]{
56
	entry_address	= periph_rx();
57
	name	= ID_periph_rx;
58
	stack_size	= 256;
59
	stack_section	= stack;
60
	priority	= 2;
61
	initial_start	= OFF;
62
	exinf	= 0x0;
63
};
64

    
65
task[]{
66
	entry_address	= avance_voiture();
67
	name	= id_avance;
68
	stack_size	= 256;
69
	stack_section	= stack;
70
	priority	= 2;
71
	initial_start	= OFF;
72
	exinf	= 0x0;
73
};
74

    
75

    
76
task[]{
77
	entry_address	= ass_roue();
78
	name	= id_roue;
79
	stack_size	= 256;
80
	stack_section	= stack;
81
	priority	= 2;
82
	initial_start	= OFF;
83
	exinf	= 0x0;
84
};
85

    
86
task[]{
87
	entry_address	=temps_course();
88
	name	= id_temps;
89
	stack_size	= 256;
90
	stack_section	= stack;
91
	priority	= 2;
92
	initial_start	= OFF;
93
	exinf	= 0x0;
94
};
95

    
96

    
97
task[]{
98
	entry_address	= p_noire();
99
	name	= id_noire;
100
	stack_size	= 256;
101
	stack_section	= stack;
102
	priority	= 2;
103
	initial_start	= OFF;
104
	exinf	= 0x0;
105
};
106

    
107
task[]{
108
	entry_address	= mes_aber();
109
	name	= id_aber;
110
	stack_size	= 256;
111
	stack_section	= stack;
112
	priority	= 2;
113
	initial_start	= OFF;
114
	exinf	= 0x0;
115
};
116

    
117
task[]{
118
	entry_address	= appui();
119
	name	= id_appui;
120
	stack_size	= 256;
121
	stack_section	= stack;
122
	priority	= 2;
123
	initial_start	= OFF;
124
	exinf	= 0x0;
125
};
126

    
127

    
128
task[]{
129
	entry_address	= asservissement_tourelle();
130
	name	= id_ass_t;
131
	stack_size	= 256;
132
	stack_section	= stack;
133
	priority	= 2;
134
	initial_start	= OFF;
135
	exinf	= 0x0;
136
};
137

    
138
task[]{
139
	entry_address	= mode_de_course();
140
	name	= id_mode;
141
	stack_size	= 256;
142
	stack_section	= stack;
143
	priority	= 2;
144
	initial_start	= OFF;
145
	exinf	= 0x0;
146
};
147

    
148
task[]{
149
	entry_address	= piste_verte_bleue();
150
	name	= id_piste_verte_bleue;
151
	stack_size	= 256;
152
	stack_section	= stack;
153
	priority	= 2;
154
	initial_start	= OFF;
155
	exinf	= 0x0;
156
};
157

    
158
task[]{
159
	entry_address	= detection();
160
	name	= id_detec;
161
	stack_size	= 256;
162
	stack_section	= stack;
163
	priority	= 2;
164
	initial_start	= OFF;
165
	exinf	= 0x0;
166
};
167

    
168
task[]{
169
	entry_address	= piste();
170
	name	= id_piste;
171
	stack_size	= 256;
172
	stack_section	= stack;
173
	priority	= 2;
174
	initial_start	= OFF;
175
	exinf	= 0x0;
176
};
177

    
178

    
179
task[]{
180
	entry_address	= acquis_distance();
181
	name	= id_dist;
182
	stack_size	= 256;
183
	stack_section	= stack;
184
	priority	= 2;
185
	initial_start	= OFF;
186
	exinf	= 0x0;
187
};
188

    
189

    
190
task[]{
191
	entry_address	= acqui_angle_t();
192
	name	= id_angle;
193
	stack_size	= 256;
194
	stack_section	= stack;
195
	priority	= 2;
196
	initial_start	= OFF;
197
	exinf	= 0x0;
198
};
199

    
200
task[]{
201
	entry_address	= trou();
202
	name	= id_trou;
203
	stack_size	= 256;
204
	stack_section	= stack;
205
	priority	= 2;
206
	initial_start	= OFF;
207
	exinf	= 0x0;
208
};
209

    
210

    
211
task[]{
212
	entry_address	= capteur();
213
	name	= id_capt;
214
	stack_size	= 256;
215
	stack_section	= stack;
216
	priority	= 2;
217
	initial_start	= OFF;
218
	exinf	= 0x0;
219
};
220

    
221

    
222
task[]{
223
	entry_address	= envoie_comm_v();
224
	name	= id_comm_v;
225
	stack_size	= 256;
226
	stack_section	= stack;
227
	priority	= 2;
228
	initial_start	= OFF;
229
	exinf	= 0x0;
230
};
231

    
232
task[]{
233
	entry_address	= arret_urgence();
234
	name	= id_arret;
235
	stack_size	= 256;
236
	stack_section	= stack;
237
	priority	= 2;
238
	initial_start	= OFF;
239
	exinf	= 0x0;
240
};
241

    
242

    
243

    
244
flag[]{
245
	name	= ev_bus_fin_tr;
246
	initial_pattern	= 0x0000;
247
	wait_queue	= TA_TFIFO;
248
	clear_attribute	= YES;
249
	wait_multi	= TA_WMUL;
250
};
251
flag[]{
252
	name	= ev_periph;
253
	initial_pattern	= 0x0000;
254
	wait_queue	= TA_TFIFO;
255
	clear_attribute	= NO;
256
	wait_multi	= TA_WMUL;
257
};
258
flag[]{
259
	name	= event;
260
	initial_pattern	= 0x0000;
261
	wait_queue	= TA_TFIFO;
262
	clear_attribute	= NO;
263
	wait_multi	= TA_WMUL;
264
};
265

    
266

    
267
dataqueue[]{
268
	name	= CanTx;
269
	wait_queue	= TA_TFIFO;
270
	buffer_size	= 8;
271
};
272
dataqueue[]{
273
	name	= CanRx;
274
	wait_queue	= TA_TFIFO;
275
	buffer_size	= 4;
276
};
277

    
278

    
279

    
280

    
281
cyclic_hand[]{
282
	entry_address	= acqui();
283
	name	= ID_acqui;
284
	exinf	= 0x0;
285
	start	= OFF;
286
	phsatr	= OFF;
287
	interval_counter	= 0x64;
288
	phs_counter	= 0x0;
289
};
290

    
291

    
292
vdataqueue[]{
293
	name	= QdmTouche;
294
	wait_queue	= TA_TFIFO;
295
	buffer_size	= 16;
296
};
297

    
298
interrupt_vector[8]{
299
	os_int	= YES;
300
	entry_address	= uart0_dma0_tr_OK();
301
	pragma_switch	= ;
302
};
303
interrupt_vector[17]{
304
	os_int	= YES;
305
	entry_address	= uart0_itx_ok();
306
	pragma_switch	= ;
307
};
308
interrupt_vector[18]{
309
	os_int	= YES;
310
	entry_address	= uart0_irx();
311
	pragma_switch	= ;
312
};
313
interrupt_vector[21]{
314
	os_int	= YES;
315
	entry_address	= mesure();
316
	pragma_switch	= ;
317
};
318
interrupt_vector[43]{
319
	os_int	= YES;
320
	entry_address	= itouche();
321
	pragma_switch	= ;
322
};
323

    
324

    
325

    
326
//
327
// End of Configuration
328
//