Statistics
| Revision:

root / branch / duvernois / Emb_App / conf_noyau.cfg @ 262

History | View | Annotate | Download (3.09 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2018/12/11 16:21:27
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	= 7;
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	= 10;
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	= tourelle();
66
	name	= ID_tourelle;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 7;
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	= 5;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82
task[]{
83
	entry_address	= saut();
84
	name	= ID_saut;
85
	stack_size	= 256;
86
	stack_section	= stack;
87
	priority	= 1;
88
	initial_start	= OFF;
89
	exinf	= 0x0;
90
};
91
task[]{
92
	entry_address	= Piste();
93
	name	= ID_Piste;
94
	stack_size	= 256;
95
	stack_section	= stack;
96
	priority	= 1;
97
	initial_start	= OFF;
98
	exinf	= 0x0;
99
};
100
flag[]{
101
	name	= ev_bus_fin_tr;
102
	initial_pattern	= 0x0000;
103
	wait_queue	= TA_TFIFO;
104
	clear_attribute	= YES;
105
	wait_multi	= TA_WMUL;
106
};
107
flag[]{
108
	name	= ev_periph;
109
	initial_pattern	= 0x0000;
110
	wait_queue	= TA_TFIFO;
111
	clear_attribute	= NO;
112
	wait_multi	= TA_WMUL;
113
};
114
flag[]{
115
	name	= event;
116
	initial_pattern	= 0x0000;
117
	wait_queue	= TA_TFIFO;
118
	clear_attribute	= NO;
119
	wait_multi	= TA_WMUL;
120
};
121

    
122

    
123
dataqueue[]{
124
	name	= CanTx;
125
	wait_queue	= TA_TFIFO;
126
	buffer_size	= 8;
127
};
128
dataqueue[]{
129
	name	= CanRx;
130
	wait_queue	= TA_TFIFO;
131
	buffer_size	= 4;
132
};
133

    
134

    
135

    
136

    
137
cyclic_hand[]{
138
	entry_address	= acqui();
139
	name	= ID_acqui;
140
	exinf	= 0x0;
141
	start	= OFF;
142
	phsatr	= OFF;
143
	interval_counter	= 0x64;
144
	phs_counter	= 0x0;
145
};
146

    
147

    
148
vdataqueue[]{
149
	name	= QdmTouche;
150
	wait_queue	= TA_TFIFO;
151
	buffer_size	= 16;
152
};
153

    
154
interrupt_vector[8]{
155
	os_int	= YES;
156
	entry_address	= uart0_dma0_tr_OK();
157
	pragma_switch	= ;
158
};
159
interrupt_vector[17]{
160
	os_int	= YES;
161
	entry_address	= uart0_itx_ok();
162
	pragma_switch	= ;
163
};
164
interrupt_vector[18]{
165
	os_int	= YES;
166
	entry_address	= uart0_irx();
167
	pragma_switch	= ;
168
};
169
interrupt_vector[21]{
170
	os_int	= YES;
171
	entry_address	= mesure();
172
	pragma_switch	= ;
173
};
174
interrupt_vector[43]{
175
	os_int	= YES;
176
	entry_address	= itouche();
177
	pragma_switch	= ;
178
};
179

    
180

    
181

    
182
//
183
// End of Configuration
184
//