Statistics
| Revision:

root / branch / colomban / Emb_App / conf_noyau.cfg @ 256

History | View | Annotate | Download (2.94 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2018/12/14 14:46:45
6
//
7
////////////////////////////////////////////////////////////////////////////////
8

    
9
// system definition
10
system{
11
	stack_size	= 256;
12
	priority	= 9;
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	= 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	= asservissement();
66
	name	= ID_asserv;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 7;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73
task[]{
74
	entry_address	= asserv_roue();
75
	name	= ID_roue;
76
	stack_size	= 256;
77
	stack_section	= stack;
78
	priority	= 9;
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	= 6;
88
	initial_start	= OFF;
89
	exinf	= 0x0;
90
};
91

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

    
114

    
115
dataqueue[]{
116
	name	= CanTx;
117
	wait_queue	= TA_TFIFO;
118
	buffer_size	= 8;
119
};
120
dataqueue[]{
121
	name	= CanRx;
122
	wait_queue	= TA_TFIFO;
123
	buffer_size	= 4;
124
};
125

    
126

    
127

    
128

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

    
139

    
140
vdataqueue[]{
141
	name	= QdmTouche;
142
	wait_queue	= TA_TFIFO;
143
	buffer_size	= 16;
144
};
145

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

    
172

    
173

    
174
//
175
// End of Configuration
176
//