Statistics
| Revision:

root / branch / toribio / Emb_App / conf_noyau.cfg @ 291

History | View | Annotate | Download (3.6 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

    
47
task[]{
48
	entry_address	= asserv0();
49
	name	= ID_asserv0;
50
	stack_size	= 512;
51
	stack_section	= stack;
52
	priority	= 6;
53
	initial_start	= OFF;
54
	exinf	= 0x0;
55
	
56
};
57

    
58
task[]{
59
	entry_address	= dist();
60
	name	= ID_dist;
61
	stack_size	= 512;
62
	stack_section	= stack;
63
	priority	= 6;
64
	initial_start	= OFF;
65
	exinf	= 0x0;
66
	
67
};
68

    
69
task[]{
70
	entry_address	= zone();
71
	name	= ID_zone;
72
	stack_size	= 512;
73
	stack_section	= stack;
74
	priority	= 6;
75
	initial_start	= OFF;
76
	exinf	= 0x0;
77
	
78
};
79

    
80
task[]{
81
	entry_address	= roue();
82
	name	= ID_roue;
83
	stack_size	= 512;
84
	stack_section	= stack;
85
	priority	= 6;
86
	initial_start	= OFF;
87
	exinf	= 0x0;
88
	
89
};
90

    
91
task[]{
92
	entry_address	= regvitesse();
93
	name	= ID_regvitesse;
94
	stack_size	= 512;
95
	stack_section	= stack;
96
	priority	= 6;
97
	initial_start	= OFF;
98
	exinf	= 0x0;
99
	
100
};
101

    
102
task[]{
103
	entry_address	= saut();
104
	name	= ID_saut;
105
	stack_size	= 512;
106
	stack_section	= stack;
107
	priority	= 6;
108
	initial_start	= OFF;
109
	exinf	= 0x0;
110
	
111
}; 
112

    
113
task[]{
114
	entry_address	= pistenoire();
115
	name	= ID_pistenoire;
116
	stack_size	= 512;
117
	stack_section	= stack;
118
	priority	= 6;
119
	initial_start	= OFF;
120
	exinf	= 0x0;
121
	
122
};
123
	
124

    
125

    
126
	
127
task[]{
128
	entry_address	= periph_tx();
129
	name	= ID_periph_tx;
130
	stack_size	= 256;
131
	stack_section	= stack;
132
	priority	= 3;
133
	initial_start	= ON;
134
	exinf	= 0x0;
135
};
136
task[]{
137
	entry_address	= periph_rx();
138
	name	= ID_periph_rx;
139
	stack_size	= 256;
140
	stack_section	= stack;
141
	priority	= 2;
142
	initial_start	= OFF;
143
	exinf	= 0x0;
144
};
145

    
146
flag[]{
147
	name	= ev_bus_fin_tr;
148
	initial_pattern	= 0x0000;
149
	wait_queue	= TA_TFIFO;
150
	clear_attribute	= YES;
151
	wait_multi	= TA_WMUL;
152
};
153
flag[]{
154
	name	= ev_periph;
155
	initial_pattern	= 0x0000;
156
	wait_queue	= TA_TFIFO;
157
	clear_attribute	= NO;
158
	wait_multi	= TA_WMUL;
159
};
160
flag[]{
161
	name	= event;
162
	initial_pattern	= 0x0000;
163
	wait_queue	= TA_TFIFO;
164
	clear_attribute	= NO;
165
	wait_multi	= TA_WMUL;
166
};
167

    
168

    
169
dataqueue[]{
170
	name	= CanTx;
171
	wait_queue	= TA_TFIFO;
172
	buffer_size	= 8;
173
};
174
dataqueue[]{
175
	name	= CanRx;
176
	wait_queue	= TA_TFIFO;
177
	buffer_size	= 4;
178
};
179

    
180

    
181

    
182

    
183
cyclic_hand[]{
184
	entry_address	= acqui();
185
	name	= ID_acqui;
186
	exinf	= 0x0;
187
	start	= OFF;
188
	phsatr	= OFF;
189
	interval_counter	= 0x64;
190
	phs_counter	= 0x0;
191
};
192

    
193

    
194
vdataqueue[]{
195
	name	= QdmTouche;
196
	wait_queue	= TA_TFIFO;
197
	buffer_size	= 16;
198
};
199

    
200
interrupt_vector[8]{
201
	os_int	= YES;
202
	entry_address	= uart0_dma0_tr_OK();
203
	pragma_switch	= ;
204
};
205
interrupt_vector[17]{
206
	os_int	= YES;
207
	entry_address	= uart0_itx_ok();
208
	pragma_switch	= ;
209
};
210
interrupt_vector[18]{
211
	os_int	= YES;
212
	entry_address	= uart0_irx();
213
	pragma_switch	= ;
214
};
215
interrupt_vector[21]{
216
	os_int	= YES;
217
	entry_address	= mesure();
218
	pragma_switch	= ;
219
};
220
interrupt_vector[43]{
221
	os_int	= YES;
222
	entry_address	= itouche();
223
	pragma_switch	= ;
224
};
225

    
226

    
227

    
228
//
229
// End of Configuration
230
//