Statistics
| Revision:

root / branch / vilain_sebastien / Emb_App / conf_noyau.cfg @ 62

History | View | Annotate | Download (2.78 KB)

1 1 jalaffon
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5 62 sevilain1
//    Generated by M3T-MR308 GUI Configurator at 2018/12/03 16:28:30
6 1 jalaffon
//
7
////////////////////////////////////////////////////////////////////////////////
8
9
// system definition
10
system{
11
	stack_size	= 256;
12 62 sevilain1
	priority	= 10;
13 1 jalaffon
	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 62 sevilain1
	max_task	= 5;
24 1 jalaffon
	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 62 sevilain1
task[]{
65
	entry_address	= asserv0();
66
	name	= ID_asserv0;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 10;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73
task[]{
74
	entry_address	= asserv1();
75
	name	= ID_asserv1;
76
	stack_size	= 256;
77
	stack_section	= stack;
78
	priority	= 1;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82 1 jalaffon
83
flag[]{
84
	name	= ev_bus_fin_tr;
85
	initial_pattern	= 0x0000;
86
	wait_queue	= TA_TFIFO;
87
	clear_attribute	= YES;
88
	wait_multi	= TA_WMUL;
89
};
90
flag[]{
91
	name	= ev_periph;
92
	initial_pattern	= 0x0000;
93
	wait_queue	= TA_TFIFO;
94
	clear_attribute	= NO;
95
	wait_multi	= TA_WMUL;
96
};
97
flag[]{
98
	name	= event;
99
	initial_pattern	= 0x0000;
100
	wait_queue	= TA_TFIFO;
101
	clear_attribute	= NO;
102
	wait_multi	= TA_WMUL;
103
};
104
105
106
dataqueue[]{
107
	name	= CanTx;
108
	wait_queue	= TA_TFIFO;
109
	buffer_size	= 8;
110
};
111
dataqueue[]{
112
	name	= CanRx;
113
	wait_queue	= TA_TFIFO;
114
	buffer_size	= 4;
115
};
116
117
118
119
120
cyclic_hand[]{
121
	entry_address	= acqui();
122
	name	= ID_acqui;
123
	exinf	= 0x0;
124
	start	= OFF;
125
	phsatr	= OFF;
126
	interval_counter	= 0x64;
127
	phs_counter	= 0x0;
128
};
129
130
131
vdataqueue[]{
132
	name	= QdmTouche;
133
	wait_queue	= TA_TFIFO;
134
	buffer_size	= 16;
135
};
136
137
interrupt_vector[8]{
138
	os_int	= YES;
139
	entry_address	= uart0_dma0_tr_OK();
140
	pragma_switch	= ;
141
};
142
interrupt_vector[17]{
143
	os_int	= YES;
144
	entry_address	= uart0_itx_ok();
145
	pragma_switch	= ;
146
};
147
interrupt_vector[18]{
148
	os_int	= YES;
149
	entry_address	= uart0_irx();
150
	pragma_switch	= ;
151
};
152
interrupt_vector[21]{
153
	os_int	= YES;
154
	entry_address	= mesure();
155
	pragma_switch	= ;
156
};
157
interrupt_vector[43]{
158
	os_int	= YES;
159
	entry_address	= itouche();
160
	pragma_switch	= ;
161
};
162
163
164
165
//
166
// End of Configuration
167
//