Statistics
| Revision:

root / branch / diagne / Emb_App / conf_noyau.cfg @ 234

History | View | Annotate | Download (2.95 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	= 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	= 5;
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

    
65
task[]{
66
	entry_address	= Asserv0();
67
	name	= ID_Asserv0;
68
	stack_size	= 256;
69
	stack_section	= stack;
70
	priority	= 5;
71
	initial_start	= OFF;
72
	exinf	= 0x0;
73
};
74
task[]{
75
	entry_address	= Avancer();
76
	name	= ID_Avancer;
77
	stack_size	= 256;
78
	stack_section	= stack;
79
	priority	= 7;
80
	initial_start	= OFF;
81
	exinf	= 0x0;
82
};
83

    
84
task[]{
85
	entry_address	= regulation_roue();
86
	name	= ID_roue;
87
	stack_size	= 256;
88
	stack_section	= stack;
89
	priority	= 7;
90
	initial_start	= OFF;
91
	exinf	= 0x0;
92
};
93

    
94

    
95
flag[]{
96
	name	= ev_bus_fin_tr;
97
	initial_pattern	= 0x0000;
98
	wait_queue	= TA_TFIFO;
99
	clear_attribute	= YES;
100
	wait_multi	= TA_WMUL;
101
};
102
flag[]{
103
	name	= ev_periph;
104
	initial_pattern	= 0x0000;
105
	wait_queue	= TA_TFIFO;
106
	clear_attribute	= NO;
107
	wait_multi	= TA_WMUL;
108
};
109
flag[]{
110
	name	= event;
111
	initial_pattern	= 0x0000;
112
	wait_queue	= TA_TFIFO;
113
	clear_attribute	= NO;
114
	wait_multi	= TA_WMUL;
115
};
116

    
117

    
118
dataqueue[]{
119
	name	= CanTx;
120
	wait_queue	= TA_TFIFO;
121
	buffer_size	= 8;
122
};
123
dataqueue[]{
124
	name	= CanRx;
125
	wait_queue	= TA_TFIFO;
126
	buffer_size	= 4;
127
};
128

    
129

    
130

    
131

    
132
cyclic_hand[]{
133
	entry_address	= acqui();
134
	name	= ID_acqui;
135
	exinf	= 0x0;
136
	start	= OFF;
137
	phsatr	= OFF;
138
	interval_counter	= 0x64;
139
	phs_counter	= 0x0;
140
};
141

    
142

    
143
vdataqueue[]{
144
	name	= QdmTouche;
145
	wait_queue	= TA_TFIFO;
146
	buffer_size	= 16;
147
};
148

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

    
175

    
176

    
177
//
178
// End of Configuration
179
//