Statistics
| Revision:

root / branch / mbaye / Emb_App / conf_noyau.cfg @ 536

History | View | Annotate | Download (3.43 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	= 11;
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	= 11;
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	= asserv_T();
48
	name	= ID_asserv_T;
49
	stack_size	= 512;
50
	stack_section	= stack;
51
	priority	= 10;
52
	initial_start	= ON;
53
	exinf	= 0x0;
54
};
55
task[]{
56
	entry_address	= dist_T();
57
	name	= ID_dist_T;
58
	stack_size	= 512;
59
	stack_section	= stack;
60
	priority	= 10;
61
	initial_start	= ON;
62
	exinf	= 0x0;
63
};
64
task[]{
65
	entry_address	= vitesse_roue();
66
	name	= ID_vitesse_roue;
67
	stack_size	= 512;
68
	stack_section	= stack;
69
	priority	= 10;
70
	initial_start	= ON;
71
	exinf	= 0x0;
72
};
73

    
74
task[]{
75
	entry_address	= info_capt();
76
	name	= ID_info_capt;
77
	stack_size	= 512;
78
	stack_section	= stack;
79
	priority	= 10;
80
	initial_start	= ON;
81
	exinf	= 0x0;
82
};
83
task[]{
84
	entry_address	= mode_course();
85
	name	= ID_mode_course;
86
	stack_size	= 512;
87
	stack_section	= stack;
88
	priority	= 10;
89
	initial_start	= ON;
90
	exinf	= 0x0;
91
};
92
task[]{
93
	entry_address	= clavier();
94
	name	= ID_clavier;
95
	stack_size	= 512;
96
	stack_section	= stack;
97
	priority	= 9;
98
	initial_start	= ON;
99
	exinf	= 0x0;
100
};
101
task[]{
102
	entry_address	= periph_tx();
103
	name	= ID_periph_tx;
104
	stack_size	= 256;
105
	stack_section	= stack;
106
	priority	= 3;
107
	initial_start	= ON;
108
	exinf	= 0x0;
109
};
110
task[]{
111
	entry_address	= periph_rx();
112
	name	= ID_periph_rx;
113
	stack_size	= 256;
114
	stack_section	= stack;
115
	priority	= 2;
116
	initial_start	= ON;
117
	exinf	= 0x0;
118
};
119
flag[]{
120
	name	= ev_bus_fin_tr;
121
	initial_pattern	= 0x0000;
122
	wait_queue	= TA_TFIFO;
123
	clear_attribute	= YES;
124
	wait_multi	= TA_WMUL;
125
};
126
flag[]{
127
	name	= ev_periph;
128
	initial_pattern	= 0x0000;
129
	wait_queue	= TA_TFIFO;
130
	clear_attribute	= NO;
131
	wait_multi	= TA_WMUL;
132
};
133
flag[]{
134
	name	= event;
135
	initial_pattern	= 0x0000;
136
	wait_queue	= TA_TFIFO;
137
	clear_attribute	= NO;
138
	wait_multi	= TA_WMUL;
139
};
140

    
141

    
142
dataqueue[]{
143
	name	= CanTx;
144
	wait_queue	= TA_TFIFO;
145
	buffer_size	= 8;
146
};
147
dataqueue[]{
148
	name	= CanRx;
149
	wait_queue	= TA_TFIFO;
150
	buffer_size	= 4;
151
};
152

    
153

    
154

    
155

    
156
cyclic_hand[]{
157
	entry_address	= acqui();
158
	name	= ID_acqui;
159
	exinf	= 0x0;
160
	start	= OFF;
161
	phsatr	= OFF;
162
	interval_counter	= 0x64;
163
	phs_counter	= 0x0;
164
};
165

    
166

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

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

    
199

    
200

    
201
//
202
// End of Configuration
203
//