Statistics
| Revision:

root / branch / lepogam / Emb_App / conf_noyau.cfg @ 59

History | View | Annotate | Download (3.45 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
task[]{
65
	entry_address	= asserv_tourelle();
66
	name	= ID_asserv_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	= asserv_roue();
75
	name	= ID_asserv_roue;
76
	stack_size	= 256;
77
	stack_section	= stack;
78
	priority	= 4;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82
task[]{
83
	entry_address	= asserv_vitesse();
84
	name	= ID_asserv_vitesse;
85
	stack_size	= 256;
86
	stack_section	= stack;
87
	priority	= 5;
88
	initial_start	= OFF;
89
	exinf	= 0x0;
90
};
91
flag[]{
92
	name	= ev_bus_fin_tr;
93
	initial_pattern	= 0x0000;
94
	wait_queue	= TA_TFIFO;
95
	clear_attribute	= YES;
96
	wait_multi	= TA_WMUL;
97
};
98
flag[]{
99
	name	= ev_periph;
100
	initial_pattern	= 0x0000;
101
	wait_queue	= TA_TFIFO;
102
	clear_attribute	= NO;
103
	wait_multi	= TA_WMUL;
104
};
105
flag[]{
106
	name	= event;
107
	initial_pattern	= 0x0000;
108
	wait_queue	= TA_TFIFO;
109
	clear_attribute	= NO;
110
	wait_multi	= TA_WMUL;
111
};
112

    
113

    
114
dataqueue[]{
115
	name	= CanTx;
116
	wait_queue	= TA_TFIFO;
117
	buffer_size	= 8;
118
};
119
dataqueue[]{
120
	name	= CanRx;
121
	wait_queue	= TA_TFIFO;
122
	buffer_size	= 4;
123
};
124

    
125

    
126

    
127

    
128
cyclic_hand[]{
129
	entry_address	= acqui();
130
	name	= ID_acqui;
131
	exinf	= 0x0;
132
	start	= OFF;
133
	phsatr	= OFF;
134
	interval_counter	= 0x64;
135
	phs_counter	= 0x0;
136
};
137
cyclic_hand[]{
138
	entry_address	= asserv1();
139
	name	= ID_asserv1;
140
	exinf	= 0x0;
141
	start	= OFF;
142
	phsatr	= OFF;
143
	interval_counter	= 0x64;
144
	phs_counter	= 0x0;
145
};
146
cyclic_hand[]{
147
	entry_address	= asserv2();
148
	name	= ID_asserv2;
149
	exinf	= 0x0;
150
	start	= OFF;
151
	phsatr	= OFF;
152
	interval_counter	= 0x64;
153
	phs_counter	= 0x0;
154
};
155
cyclic_hand[]{
156
	entry_address	= asserv3();
157
	name	= ID_asserv3;
158
	exinf	= 0x0;
159
	start	= OFF;
160
	phsatr	= OFF;
161
	interval_counter	= 0x64;
162
	phs_counter	= 0x0;
163
};
164

    
165

    
166
vdataqueue[]{
167
	name	= QdmTouche;
168
	wait_queue	= TA_TFIFO;
169
	buffer_size	= 16;
170
};
171

    
172
interrupt_vector[8]{
173
	os_int	= YES;
174
	entry_address	= uart0_dma0_tr_OK();
175
	pragma_switch	= ;
176
};
177
interrupt_vector[17]{
178
	os_int	= YES;
179
	entry_address	= uart0_itx_ok();
180
	pragma_switch	= ;
181
};
182
interrupt_vector[18]{
183
	os_int	= YES;
184
	entry_address	= uart0_irx();
185
	pragma_switch	= ;
186
};
187
interrupt_vector[21]{
188
	os_int	= YES;
189
	entry_address	= mesure();
190
	pragma_switch	= ;
191
};
192
interrupt_vector[43]{
193
	os_int	= YES;
194
	entry_address	= itouche();
195
	pragma_switch	= ;
196
};
197

    
198

    
199

    
200
//
201
// End of Configuration
202
//