Statistics
| Revision:

root / branch / najib_idzim / tp_info6 / Emb_App / conf_noyau.cfg @ 341

History | View | Annotate | Download (2.81 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2018/12/05 17:29:14
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	= 4;
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	= 1024;
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_tour();
66
	name	= ID_asserv_tour;
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_direction();
75
	name	= ID_asserv_direction;
76
	stack_size	= 1024;
77
	stack_section	= stack;
78
	priority	= 6;
79
	initial_start	= OFF;
80
	exinf	= 0x0;
81
};
82

    
83

    
84

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

    
107

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

    
119

    
120

    
121

    
122
cyclic_hand[]{
123
	entry_address	= acqui();
124
	name	= ID_acqui;
125
	exinf	= 0x0;
126
	start	= OFF;
127
	phsatr	= OFF;
128
	interval_counter	= 0x64;
129
	phs_counter	= 0x0;
130
};
131

    
132

    
133
vdataqueue[]{
134
	name	= QdmTouche;
135
	wait_queue	= TA_TFIFO;
136
	buffer_size	= 16;
137
};
138

    
139
interrupt_vector[8]{
140
	os_int	= YES;
141
	entry_address	= uart0_dma0_tr_OK();
142
	pragma_switch	= ;
143
};
144
interrupt_vector[17]{
145
	os_int	= YES;
146
	entry_address	= uart0_itx_ok();
147
	pragma_switch	= ;
148
};
149
interrupt_vector[18]{
150
	os_int	= YES;
151
	entry_address	= uart0_irx();
152
	pragma_switch	= ;
153
};
154
interrupt_vector[21]{
155
	os_int	= YES;
156
	entry_address	= mesure();
157
	pragma_switch	= ;
158
};
159
interrupt_vector[43]{
160
	os_int	= YES;
161
	entry_address	= itouche();
162
	pragma_switch	= ;
163
};
164

    
165

    
166

    
167
//
168
// End of Configuration
169
//