Statistics
| Revision:

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

History | View | Annotate | Download (3.67 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	= 3;
81
	initial_start	= OFF;
82
	exinf	= 0x0;
83
};
84

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

    
95
task[]{
96
	entry_address	= gestion_saut();
97
	name	= ID_gestion_saut;
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	= lecture_piste();
107
	name	= ID_lecture_piste;
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	= lecture_capteur();
117
	name	= ID_lecture_capteur;
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	= demarrage();
127
	name	= ID_demarrage;
128
	stack_size	= 512;
129
	stack_section	= stack;
130
	priority	= 4;
131
	initial_start	= OFF;
132
	exinf	= 0x0;
133
};
134

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

    
157

    
158
dataqueue[]{
159
	name	= CanTx;
160
	wait_queue	= TA_TFIFO;
161
	buffer_size	= 8;
162
};
163
dataqueue[]{
164
	name	= CanRx;
165
	wait_queue	= TA_TFIFO;
166
	buffer_size	= 4;
167
};
168

    
169

    
170

    
171

    
172
cyclic_hand[]{
173
	entry_address	= acqui();
174
	name	= ID_acqui;
175
	exinf	= 0x0;
176
	start	= OFF;
177
	phsatr	= OFF;
178
	interval_counter	= 0x64;
179
	phs_counter	= 0x0;
180
};
181

    
182

    
183
vdataqueue[]{
184
	name	= QdmTouche;
185
	wait_queue	= TA_TFIFO;
186
	buffer_size	= 16;
187
};
188

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

    
215

    
216

    
217
//
218
// End of Configuration
219
//