Statistics
| Revision:

root / branch / guochao / Emb_App / conf_noyau.cfg @ 404

History | View | Annotate | Download (3.46 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	= 8;
24
	max_flag	= 3;
25
	max_dtq	= 2;
26
	max_cyh	= 2;
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	= 4;
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	= clavier();
67
	name	= ID_clavier;
68
	stack_size	= 256;
69
	stack_section	= stack;
70
	priority	= 4;
71
	initial_start	= OFF;
72
	exinf	= 0x0;
73
};
74

    
75
task[]{
76
	entry_address	= siSecouerFini();
77
	name	= ID_secouerFini;
78
	stack_size	= 256;
79
	stack_section	= stack;
80
	priority	= 5;
81
	initial_start	= OFF;
82
	exinf	= 0x0;
83
};
84

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

    
95
task[]{
96
	entry_address	= mesurerDistance();
97
	name	= ID_mesurerDistance;
98
	stack_size	= 256;
99
	stack_section	= stack;
100
	priority	= 3;
101
	initial_start	= OFF;
102
	exinf	= 0x0;
103
};
104

    
105
task[]{
106
	entry_address	= siSauter();
107
	name	= ID_siSauter;
108
	stack_size	= 256;
109
	stack_section	= stack;
110
	priority	= 1;
111
	initial_start	= OFF;
112
	exinf	= 0x0;
113
};
114

    
115
task[]{
116
	entry_address	= control();
117
	name	= ID_control;
118
	stack_size	= 256;
119
	stack_section	= stack;
120
	priority	= 3;
121
	initial_start	= OFF;
122
	exinf	= 0x0;
123
};
124

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

    
147

    
148
dataqueue[]{
149
	name	= CanTx;
150
	wait_queue	= TA_TFIFO;
151
	buffer_size	= 8;
152
};
153
dataqueue[]{
154
	name	= CanRx;
155
	wait_queue	= TA_TFIFO;
156
	buffer_size	= 4;
157
};
158

    
159

    
160

    
161

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

    
172

    
173
vdataqueue[]{
174
	name	= QdmTouche;
175
	wait_queue	= TA_TFIFO;
176
	buffer_size	= 16;
177
};
178

    
179
interrupt_vector[8]{
180
	os_int	= YES;
181
	entry_address	= uart0_dma0_tr_OK();
182
	pragma_switch	= ;
183
};
184
interrupt_vector[17]{
185
	os_int	= YES;
186
	entry_address	= uart0_itx_ok();
187
	pragma_switch	= ;
188
};
189
interrupt_vector[18]{
190
	os_int	= YES;
191
	entry_address	= uart0_irx();
192
	pragma_switch	= ;
193
};
194
interrupt_vector[21]{
195
	os_int	= YES;
196
	entry_address	= mesure();
197
	pragma_switch	= ;
198
};
199

    
200
interrupt_vector[43]{
201
	os_int	= YES;
202
	entry_address	= itouche();
203
	pragma_switch	= ;
204
};
205

    
206

    
207

    
208
//
209
// End of Configuration
210
//