Statistics
| Revision:

root / branch / bacher / Emb_App / conf_noyau.cfg @ 52

History | View | Annotate | Download (2.62 KB)

1
////////////////////////////////////////////////////////////////////////////////
2
//
3
//    kernel.cfg : building file for MR308 Ver.4.00
4
//
5
//    Generated by M3T-MR308 GUI Configurator at 2018/12/03 14:45:59
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	= 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	= 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	= asserv0();
66
	name	= ID_asserv0;
67
	stack_size	= 256;
68
	stack_section	= stack;
69
	priority	= 1;
70
	initial_start	= OFF;
71
	exinf	= 0x0;
72
};
73

    
74
flag[]{
75
	name	= ev_bus_fin_tr;
76
	initial_pattern	= 0x0000;
77
	wait_queue	= TA_TFIFO;
78
	clear_attribute	= YES;
79
	wait_multi	= TA_WMUL;
80
};
81
flag[]{
82
	name	= ev_periph;
83
	initial_pattern	= 0x0000;
84
	wait_queue	= TA_TFIFO;
85
	clear_attribute	= NO;
86
	wait_multi	= TA_WMUL;
87
};
88
flag[]{
89
	name	= event;
90
	initial_pattern	= 0x0000;
91
	wait_queue	= TA_TFIFO;
92
	clear_attribute	= NO;
93
	wait_multi	= TA_WMUL;
94
};
95

    
96

    
97
dataqueue[]{
98
	name	= CanTx;
99
	wait_queue	= TA_TFIFO;
100
	buffer_size	= 8;
101
};
102
dataqueue[]{
103
	name	= CanRx;
104
	wait_queue	= TA_TFIFO;
105
	buffer_size	= 4;
106
};
107

    
108

    
109

    
110

    
111
cyclic_hand[]{
112
	entry_address	= acqui();
113
	name	= ID_acqui;
114
	exinf	= 0x0;
115
	start	= OFF;
116
	phsatr	= OFF;
117
	interval_counter	= 0x64;
118
	phs_counter	= 0x0;
119
};
120

    
121

    
122
vdataqueue[]{
123
	name	= QdmTouche;
124
	wait_queue	= TA_TFIFO;
125
	buffer_size	= 16;
126
};
127

    
128
interrupt_vector[8]{
129
	os_int	= YES;
130
	entry_address	= uart0_dma0_tr_OK();
131
	pragma_switch	= ;
132
};
133
interrupt_vector[17]{
134
	os_int	= YES;
135
	entry_address	= uart0_itx_ok();
136
	pragma_switch	= ;
137
};
138
interrupt_vector[18]{
139
	os_int	= YES;
140
	entry_address	= uart0_irx();
141
	pragma_switch	= ;
142
};
143
interrupt_vector[21]{
144
	os_int	= YES;
145
	entry_address	= mesure();
146
	pragma_switch	= ;
147
};
148
interrupt_vector[43]{
149
	os_int	= YES;
150
	entry_address	= itouche();
151
	pragma_switch	= ;
152
};
153

    
154

    
155

    
156
//
157
// End of Configuration
158
//