Statistics
| Revision:

root / branch / maincent / tp_info6 / Emb_App / conf_noyau.cfg @ 304

History | View | Annotate | Download (3.41 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	= roue();
49
	name	= ID_roue;
50
	stack_size	= 512;
51
	stack_section	= stack;
52
	priority	= 5;
53
	initial_start	= OFF;
54
	exinf	= 0x0;
55
};
56

    
57

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

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

    
78
task[]{
79
	entry_address	= zone();
80
	name	= ID_zone;
81
	stack_size	= 512;
82
	stack_section	= stack;
83
	priority	= 6;
84
	initial_start	= OFF;
85
	exinf	= 0x0;
86
};
87

    
88
task[]{
89
	entry_address	= piste();
90
	name	= ID_piste;
91
	stack_size	= 512;
92
	stack_section	= stack;
93
	priority	= 5;
94
	initial_start	= OFF;
95
	exinf	= 0x0;
96
};
97

    
98
task[]{
99
	entry_address	= vitesse();
100
	name	= ID_vitesse;
101
	stack_size	= 512;
102
	stack_section	= stack;
103
	priority	= 7;
104
	initial_start	= OFF;
105
	exinf	= 0x0;
106
};
107

    
108

    
109
task[]{
110
	entry_address	= periph_tx();
111
	name	= ID_periph_tx;
112
	stack_size	= 256;
113
	stack_section	= stack;
114
	priority	= 3;
115
	initial_start	= ON;
116
	exinf	= 0x0;
117
};
118
task[]{
119
	entry_address	= periph_rx();
120
	name	= ID_periph_rx;
121
	stack_size	= 256;
122
	stack_section	= stack;
123
	priority	= 2;
124
	initial_start	= OFF;
125
	exinf	= 0x0;
126
};
127

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

    
150

    
151
dataqueue[]{
152
	name	= CanTx;
153
	wait_queue	= TA_TFIFO;
154
	buffer_size	= 8;
155
};
156
dataqueue[]{
157
	name	= CanRx;
158
	wait_queue	= TA_TFIFO;
159
	buffer_size	= 4;
160
};
161

    
162

    
163

    
164

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

    
175

    
176
vdataqueue[]{
177
	name	= QdmTouche;
178
	wait_queue	= TA_TFIFO;
179
	buffer_size	= 16;
180
};
181

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

    
208

    
209

    
210
//
211
// End of Configuration
212
//