Statistics
| Revision:

root / branch / font / Emb_App / conf_noyau.cfg @ 301

History | View | Annotate | Download (4.38 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	= tsk_asserv1();
67
	name	= ID_tsk_asserv1;
68
	stack_size	= 512;
69
	stack_section	= stack;
70
	priority	= 4;
71
	initial_start	= OFF;
72
	exinf	= 0x0;
73
};
74

    
75
task[]{
76
	entry_address	= lecture_telemetre();
77
	name	= ID_lecture_telemetre;
78
	stack_size	= 512;
79
	stack_section	= stack;
80
	priority	= 4;
81
	initial_start	= OFF;
82
	exinf	= 0x0;
83
};
84

    
85
task[]{
86
	entry_address	= gestion_baril();
87
	name	= ID_gestion_baril;
88
	stack_size	= 512;
89
	stack_section	= stack;
90
	priority	= 4;
91
	initial_start	= OFF;
92
	exinf	= 0x0;
93
};
94

    
95
task[]{
96
	entry_address	= detect_feuv();
97
	name	= ID_detect_feuv;
98
	stack_size	= 512;
99
	stack_section	= stack;
100
	priority	= 4;
101
	initial_start	= OFF;
102
	exinf	= 0x0;
103
};
104

    
105
task[]{
106
	entry_address	= gestion_montee_bleu();
107
	name	= ID_gestion_montee_bleu;
108
	stack_size	= 512;
109
	stack_section	= stack;
110
	priority	= 4;
111
	initial_start	= OFF;
112
	exinf	= 0x0;
113
};
114

    
115
task[]{
116
	entry_address	= gestion_montee_noire();
117
	name	= ID_gestion_montee_noire;
118
	stack_size	= 512;
119
	stack_section	= stack;
120
	priority	= 4;
121
	initial_start	= OFF;
122
	exinf	= 0x0;
123
};
124

    
125
task[]{
126
	entry_address	= asservissement_roue();
127
	name	= ID_asservissement_roue;
128
	stack_size	= 512;
129
	stack_section	= stack;
130
	priority	= 4;
131
	initial_start	= OFF;
132
	exinf	= 0x0;
133
};
134

    
135
task[]{
136
	entry_address	= gestion_saut();
137
	name	= ID_gestion_saut;
138
	stack_size	= 512;
139
	stack_section	= stack;
140
	priority	= 4;
141
	initial_start	= OFF;
142
	exinf	= 0x0;
143
};
144

    
145
task[]{
146
	entry_address	= lecture_piste();
147
	name	= ID_lecture_piste;
148
	stack_size	= 512;
149
	stack_section	= stack;
150
	priority	= 4;
151
	initial_start	= OFF;
152
	exinf	= 0x0;
153
};
154

    
155
task[]{
156
	entry_address	= lecture_capteur();
157
	name	= ID_lecture_capteur;
158
	stack_size	= 512;
159
	stack_section	= stack;
160
	priority	= 4;
161
	initial_start	= OFF;
162
	exinf	= 0x0;
163
};
164

    
165
task[]{
166
	entry_address	= demarrage();
167
	name	= ID_demarrage;
168
	stack_size	= 512;
169
	stack_section	= stack;
170
	priority	= 4;
171
	initial_start	= OFF;
172
	exinf	= 0x0;
173
};
174

    
175
flag[]{
176
	name	= ev_bus_fin_tr;
177
	initial_pattern	= 0x0000;
178
	wait_queue	= TA_TFIFO;
179
	clear_attribute	= YES;
180
	wait_multi	= TA_WMUL;
181
};
182
flag[]{
183
	name	= ev_periph;
184
	initial_pattern	= 0x0000;
185
	wait_queue	= TA_TFIFO;
186
	clear_attribute	= NO;
187
	wait_multi	= TA_WMUL;
188
};
189
flag[]{
190
	name	= event;
191
	initial_pattern	= 0x0000;
192
	wait_queue	= TA_TFIFO;
193
	clear_attribute	= NO;
194
	wait_multi	= TA_WMUL;
195
};
196

    
197

    
198
dataqueue[]{
199
	name	= CanTx;
200
	wait_queue	= TA_TFIFO;
201
	buffer_size	= 8;
202
};
203
dataqueue[]{
204
	name	= CanRx;
205
	wait_queue	= TA_TFIFO;
206
	buffer_size	= 4;
207
};
208

    
209

    
210

    
211

    
212
cyclic_hand[]{
213
	entry_address	= acqui();
214
	name	= ID_acqui;
215
	exinf	= 0x0;
216
	start	= OFF;
217
	phsatr	= OFF;
218
	interval_counter	= 0x64;
219
	phs_counter	= 0x0;
220
};
221

    
222

    
223
vdataqueue[]{
224
	name	= QdmTouche;
225
	wait_queue	= TA_TFIFO;
226
	buffer_size	= 16;
227
};
228

    
229
interrupt_vector[8]{
230
	os_int	= YES;
231
	entry_address	= uart0_dma0_tr_OK();
232
	pragma_switch	= ;
233
};
234
interrupt_vector[17]{
235
	os_int	= YES;
236
	entry_address	= uart0_itx_ok();
237
	pragma_switch	= ;
238
};
239
interrupt_vector[18]{
240
	os_int	= YES;
241
	entry_address	= uart0_irx();
242
	pragma_switch	= ;
243
};
244
interrupt_vector[21]{
245
	os_int	= YES;
246
	entry_address	= mesure();
247
	pragma_switch	= ;
248
};
249
interrupt_vector[43]{
250
	os_int	= YES;
251
	entry_address	= itouche();
252
	pragma_switch	= ;
253
};
254

    
255

    
256

    
257
//
258
// End of Configuration
259
//