Statistics
| Revision:

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

History | View | Annotate | Download (3.27 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	= 9;
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
task[]{
74
	entry_address	= info_capt();
75
	name	= ID_info_capt;
76
	stack_size	= 512;
77
	stack_section	= stack;
78
	priority	= 10;
79
	initial_start	= ON;
80
	exinf	= 0x0;
81
};
82
task[]{
83
	entry_address	= mode_course();
84
	name	= ID_mode_course;
85
	stack_size	= 512;
86
	stack_section	= stack;
87
	priority	= 10;
88
	initial_start	= ON;
89
	exinf	= 0x0;
90
};
91

    
92
task[]{
93
	entry_address	= periph_tx();
94
	name	= ID_periph_tx;
95
	stack_size	= 256;
96
	stack_section	= stack;
97
	priority	= 3;
98
	initial_start	= ON;
99
	exinf	= 0x0;
100
};
101
task[]{
102
	entry_address	= periph_rx();
103
	name	= ID_periph_rx;
104
	stack_size	= 256;
105
	stack_section	= stack;
106
	priority	= 2;
107
	initial_start	= ON;
108
	exinf	= 0x0;
109
};
110
flag[]{
111
	name	= ev_bus_fin_tr;
112
	initial_pattern	= 0x0000;
113
	wait_queue	= TA_TFIFO;
114
	clear_attribute	= YES;
115
	wait_multi	= TA_WMUL;
116
};
117
flag[]{
118
	name	= ev_periph;
119
	initial_pattern	= 0x0000;
120
	wait_queue	= TA_TFIFO;
121
	clear_attribute	= NO;
122
	wait_multi	= TA_WMUL;
123
};
124
flag[]{
125
	name	= event;
126
	initial_pattern	= 0x0000;
127
	wait_queue	= TA_TFIFO;
128
	clear_attribute	= NO;
129
	wait_multi	= TA_WMUL;
130
};
131

    
132

    
133
dataqueue[]{
134
	name	= CanTx;
135
	wait_queue	= TA_TFIFO;
136
	buffer_size	= 8;
137
};
138
dataqueue[]{
139
	name	= CanRx;
140
	wait_queue	= TA_TFIFO;
141
	buffer_size	= 4;
142
};
143

    
144

    
145

    
146

    
147
cyclic_hand[]{
148
	entry_address	= acqui();
149
	name	= ID_acqui;
150
	exinf	= 0x0;
151
	start	= OFF;
152
	phsatr	= OFF;
153
	interval_counter	= 0x64;
154
	phs_counter	= 0x0;
155
};
156

    
157

    
158
vdataqueue[]{
159
	name	= QdmTouche;
160
	wait_queue	= TA_TFIFO;
161
	buffer_size	= 16;
162
};
163

    
164
interrupt_vector[8]{
165
	os_int	= YES;
166
	entry_address	= uart0_dma0_tr_OK();
167
	pragma_switch	= ;
168
};
169
interrupt_vector[17]{
170
	os_int	= YES;
171
	entry_address	= uart0_itx_ok();
172
	pragma_switch	= ;
173
};
174
interrupt_vector[18]{
175
	os_int	= YES;
176
	entry_address	= uart0_irx();
177
	pragma_switch	= ;
178
};
179
interrupt_vector[21]{
180
	os_int	= YES;
181
	entry_address	= mesure();
182
	pragma_switch	= ;
183
};
184
interrupt_vector[43]{
185
	os_int	= YES;
186
	entry_address	= itouche();
187
	pragma_switch	= ;
188
};
189

    
190

    
191

    
192
//
193
// End of Configuration
194
//