Statistics
| Revision:

root / branch / daval / Emb_App / conf_noyau.cfg @ 398

History | View | Annotate | Download (3.65 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	= 11;
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	= 11;
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
task[]{
65
	entry_address	= asservissement_tourelle();
66
	name	= ID_asservissement_tourelle;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 3;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73
task[]{
74
	entry_address	= avance();
75
	name	= ID_avance;
76
	stack_size	= 256;
77
	stack_section	= stack;
78
	priority	= 4;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82

    
83
task[]{
84
	entry_address	= distance_bord();
85
	name	= ID_distance_bord;
86
	stack_size	= 256;
87
	stack_section	= stack;
88
	priority	= 6;
89
	initial_start	= OFF;
90
	exinf	= 0x0;
91
};
92

    
93
task[]{
94
	entry_address	= asserv_cap();
95
	name	= ID_asserv_cap;
96
	stack_size	= 256;
97
	stack_section	= stack;
98
	priority	= 5;
99
	initial_start	= OFF;
100
	exinf	= 0x0;
101
};
102

    
103
task[]{
104
	entry_address	= detection_capteur();
105
	name	= ID_detection_capteur;
106
	stack_size	= 256;
107
	stack_section	= stack;
108
	priority	= 7;
109
	initial_start	= OFF;
110
	exinf	= 0x0;
111
};
112
task[]{
113
	entry_address	= mode2course();
114
	name	= ID_mode2course;
115
	stack_size	= 256;
116
	stack_section	= stack;
117
	priority	= 8;
118
	initial_start	= OFF;
119
	exinf	= 0x0;
120
};
121
task[]{
122
	entry_address	= clavier();
123
	name	= ID_clavier;
124
	stack_size	= 256;
125
	stack_section	= stack;
126
	priority	= 9;
127
	initial_start	= OFF;
128
	exinf	= 0x0;
129
};
130

    
131
flag[]{
132
	name	= ev_bus_fin_tr;
133
	initial_pattern	= 0x0000;
134
	wait_queue	= TA_TFIFO;
135
	clear_attribute	= YES;
136
	wait_multi	= TA_WMUL;
137
};
138
flag[]{
139
	name	= ev_periph;
140
	initial_pattern	= 0x0000;
141
	wait_queue	= TA_TFIFO;
142
	clear_attribute	= NO;
143
	wait_multi	= TA_WMUL;
144
};
145
flag[]{
146
	name	= event;
147
	initial_pattern	= 0x0000;
148
	wait_queue	= TA_TFIFO;
149
	clear_attribute	= NO;
150
	wait_multi	= TA_WMUL;
151
};
152

    
153

    
154
dataqueue[]{
155
	name	= CanTx;
156
	wait_queue	= TA_TFIFO;
157
	buffer_size	= 8;
158
};
159
dataqueue[]{
160
	name	= CanRx;
161
	wait_queue	= TA_TFIFO;
162
	buffer_size	= 4;
163
};
164

    
165

    
166

    
167

    
168
cyclic_hand[]{
169
	entry_address	= acqui();
170
	name	= ID_acqui;
171
	exinf	= 0x0;
172
	start	= OFF;
173
	phsatr	= OFF;
174
	interval_counter	= 0x64;
175
	phs_counter	= 0x0;
176
};
177

    
178

    
179
vdataqueue[]{
180
	name	= QdmTouche;
181
	wait_queue	= TA_TFIFO;
182
	buffer_size	= 16;
183
};
184

    
185
interrupt_vector[8]{
186
	os_int	= YES;
187
	entry_address	= uart0_dma0_tr_OK();
188
	pragma_switch	= ;
189
};
190
interrupt_vector[17]{
191
	os_int	= YES;
192
	entry_address	= uart0_itx_ok();
193
	pragma_switch	= ;
194
};
195
interrupt_vector[18]{
196
	os_int	= YES;
197
	entry_address	= uart0_irx();
198
	pragma_switch	= ;
199
};
200
interrupt_vector[21]{
201
	os_int	= YES;
202
	entry_address	= mesure();
203
	pragma_switch	= ;
204
};
205
interrupt_vector[43]{
206
	os_int	= YES;
207
	entry_address	= itouche();
208
	pragma_switch	= ;
209
};
210

    
211

    
212

    
213
//
214
// End of Configuration
215
//