Statistics
| Revision:

root / branch / guochao / Emb_App / conf_noyau.cfg @ 284

History | View | Annotate | Download (2.97 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	= 6;
24
	max_flag	= 3;
25
	max_dtq	= 2;
26
	max_cyh	= 2;
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	= 1;
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	= clavier();
67
	name	= ID_clavier;
68
	stack_size	= 256;
69
	stack_section	= stack;
70
	priority	= 4;
71
	initial_start	= OFF;
72
	exinf	= 0x0;
73
};
74

    
75
task[]{
76
	entry_address	= corrigerAngle();
77
	name	= ID_corrigerAngle;
78
	stack_size	= 256;
79
	stack_section	= stack;
80
	priority	= 3;
81
	initial_start	= OFF;
82
	exinf	= 0x0;
83
};
84

    
85
task[]{
86
	entry_address	= mesurerDistance();
87
	name	= ID_mesurerDistance;
88
	stack_size	= 256;
89
	stack_section	= stack;
90
	priority	= 2;
91
	initial_start	= OFF;
92
	exinf	= 0x0;
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

    
170
interrupt_vector[43]{
171
	os_int	= YES;
172
	entry_address	= itouche();
173
	pragma_switch	= ;
174
};
175

    
176

    
177

    
178
//
179
// End of Configuration
180
//