Statistics
| Revision:

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

History | View | Annotate | Download (3.1 KB)

1 1 jalaffon
////////////////////////////////////////////////////////////////////////////////
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 63 anmaincent
47 1 jalaffon
task[]{
48 63 anmaincent
	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	= vitesse();
80
	name	= ID_vitesse;
81
	stack_size	= 512;
82
	stack_section	= stack;
83
	priority	= 7;
84
	initial_start	= OFF;
85
	exinf	= 0x0;
86
};
87
88
89
task[]{
90 1 jalaffon
	entry_address	= periph_tx();
91
	name	= ID_periph_tx;
92
	stack_size	= 256;
93
	stack_section	= stack;
94
	priority	= 3;
95
	initial_start	= ON;
96
	exinf	= 0x0;
97
};
98
task[]{
99
	entry_address	= periph_rx();
100
	name	= ID_periph_rx;
101
	stack_size	= 256;
102
	stack_section	= stack;
103
	priority	= 2;
104
	initial_start	= OFF;
105
	exinf	= 0x0;
106
};
107
108
flag[]{
109
	name	= ev_bus_fin_tr;
110
	initial_pattern	= 0x0000;
111
	wait_queue	= TA_TFIFO;
112
	clear_attribute	= YES;
113
	wait_multi	= TA_WMUL;
114
};
115
flag[]{
116
	name	= ev_periph;
117
	initial_pattern	= 0x0000;
118
	wait_queue	= TA_TFIFO;
119
	clear_attribute	= NO;
120
	wait_multi	= TA_WMUL;
121
};
122
flag[]{
123
	name	= event;
124
	initial_pattern	= 0x0000;
125
	wait_queue	= TA_TFIFO;
126
	clear_attribute	= NO;
127
	wait_multi	= TA_WMUL;
128
};
129
130
131
dataqueue[]{
132
	name	= CanTx;
133
	wait_queue	= TA_TFIFO;
134
	buffer_size	= 8;
135
};
136
dataqueue[]{
137
	name	= CanRx;
138
	wait_queue	= TA_TFIFO;
139
	buffer_size	= 4;
140
};
141
142
143
144
145
cyclic_hand[]{
146
	entry_address	= acqui();
147
	name	= ID_acqui;
148
	exinf	= 0x0;
149
	start	= OFF;
150
	phsatr	= OFF;
151
	interval_counter	= 0x64;
152
	phs_counter	= 0x0;
153
};
154
155
156
vdataqueue[]{
157
	name	= QdmTouche;
158
	wait_queue	= TA_TFIFO;
159
	buffer_size	= 16;
160
};
161
162
interrupt_vector[8]{
163
	os_int	= YES;
164
	entry_address	= uart0_dma0_tr_OK();
165
	pragma_switch	= ;
166
};
167
interrupt_vector[17]{
168
	os_int	= YES;
169
	entry_address	= uart0_itx_ok();
170
	pragma_switch	= ;
171
};
172
interrupt_vector[18]{
173
	os_int	= YES;
174
	entry_address	= uart0_irx();
175
	pragma_switch	= ;
176
};
177
interrupt_vector[21]{
178
	os_int	= YES;
179
	entry_address	= mesure();
180
	pragma_switch	= ;
181
};
182
interrupt_vector[43]{
183
	os_int	= YES;
184
	entry_address	= itouche();
185
	pragma_switch	= ;
186
};
187
188
189
190
//
191
// End of Configuration
192
//