Statistics
| Revision:

root / branch / porte / Emb_App / conf_noyau.cfg @ 55

History | View | Annotate | Download (3.12 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	= 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
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	= Asserv_T();
66
	name	= ID_Asserv_T;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 4;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73

    
74
task[]{
75
	entry_address	= Asserv_R();
76
	name	= ID_Asserv_R;
77
	stack_size	= 256;
78
	stack_section	= stack;
79
	priority	= 4;
80
	initial_start	= OFF;
81
	exinf	= 0x0;
82
};
83

    
84
flag[]{
85
	name	= ev_bus_fin_tr;
86
	initial_pattern	= 0x0000;
87
	wait_queue	= TA_TFIFO;
88
	clear_attribute	= YES;
89
	wait_multi	= TA_WMUL;
90
};
91
flag[]{
92
	name	= ev_periph;
93
	initial_pattern	= 0x0000;
94
	wait_queue	= TA_TFIFO;
95
	clear_attribute	= NO;
96
	wait_multi	= TA_WMUL;
97
};
98
flag[]{
99
	name	= event;
100
	initial_pattern	= 0x0000;
101
	wait_queue	= TA_TFIFO;
102
	clear_attribute	= NO;
103
	wait_multi	= TA_WMUL;
104
};
105

    
106

    
107
dataqueue[]{
108
	name	= CanTx;
109
	wait_queue	= TA_TFIFO;
110
	buffer_size	= 8;
111
};
112
dataqueue[]{
113
	name	= CanRx;
114
	wait_queue	= TA_TFIFO;
115
	buffer_size	= 4;
116
};
117

    
118
cyclic_hand[]{
119
	entry_address	= acqui();
120
	name	= ID_acqui;
121
	exinf	= 0x0;
122
	start	= OFF;
123
	phsatr	= OFF;
124
	interval_counter	= 0x64;
125
	phs_counter	= 0x0;
126
};
127

    
128
cyclic_hand[]{
129
	entry_address	= Asserv_T_hc();
130
	name	= ID_Asserv_T_hc;
131
	exinf	= 0x0;
132
	start	= OFF;
133
	phsatr	= OFF;
134
	interval_counter	= 0x64;
135
	phs_counter	= 0x0;
136
};
137

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

    
148

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

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

    
181

    
182

    
183
//
184
// End of Configuration
185
//