Statistics
| Revision:

root / branch / belin / Emb_App / conf_noyau.cfg @ 495

History | View | Annotate | Download (3.41 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2019/01/14 15:35:11
6
//
7
////////////////////////////////////////////////////////////////////////////////
8

    
9
// system definition
10
system{
11
	stack_size	= 256;
12
	priority	= 10;
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	= 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	= asservissementTourelle();
66
	name	= ID_tourelle;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 4;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73
task[]{
74
	entry_address	= position();
75
	name	= ID_position;
76
	stack_size	= 256;
77
	stack_section	= stack;
78
	priority	= 6;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82
task[]{
83
	entry_address	= capteur();
84
	name	= ID_capteur;
85
	stack_size	= 256;
86
	stack_section	= stack;
87
	priority	= 5;
88
	initial_start	= OFF;
89
	exinf	= 0x0;
90
};
91
task[]{
92
	entry_address	= nomPiste();
93
	name	= ID_nomPiste;
94
	stack_size	= 256;
95
	stack_section	= stack;
96
	priority	= 10;
97
	initial_start	= OFF;
98
	exinf	= 0x0;
99
};
100
task[]{
101
	entry_address	= BP();
102
	name	= ID_BP;
103
	stack_size	= 256;
104
	stack_section	= stack;
105
	priority	= 9;
106
	initial_start	= OFF;
107
	exinf	= 0x0;
108
};
109
task[]{
110
	entry_address	= LJ();
111
	name	= ID_LJ;
112
	stack_size	= 256;
113
	stack_section	= stack;
114
	priority	= 10;
115
	initial_start	= OFF;
116
	exinf	= 0x0;
117
};
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
//