Statistics
| Revision:

root / trunk / tp_info6 / Emb_App / conf_noyau.cfg @ 149

History | View | Annotate | Download (2.46 KB)

1 1 jalaffon
////////////////////////////////////////////////////////////////////////////////
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	= 3;
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
65
flag[]{
66
	name	= ev_bus_fin_tr;
67
	initial_pattern	= 0x0000;
68
	wait_queue	= TA_TFIFO;
69
	clear_attribute	= YES;
70
	wait_multi	= TA_WMUL;
71
};
72
flag[]{
73
	name	= ev_periph;
74
	initial_pattern	= 0x0000;
75
	wait_queue	= TA_TFIFO;
76
	clear_attribute	= NO;
77
	wait_multi	= TA_WMUL;
78
};
79
flag[]{
80
	name	= event;
81
	initial_pattern	= 0x0000;
82
	wait_queue	= TA_TFIFO;
83
	clear_attribute	= NO;
84
	wait_multi	= TA_WMUL;
85
};
86
87
88
dataqueue[]{
89
	name	= CanTx;
90
	wait_queue	= TA_TFIFO;
91
	buffer_size	= 8;
92
};
93
dataqueue[]{
94
	name	= CanRx;
95
	wait_queue	= TA_TFIFO;
96
	buffer_size	= 4;
97
};
98
99
100
101
102
cyclic_hand[]{
103
	entry_address	= acqui();
104
	name	= ID_acqui;
105
	exinf	= 0x0;
106
	start	= OFF;
107
	phsatr	= OFF;
108
	interval_counter	= 0x64;
109
	phs_counter	= 0x0;
110
};
111
112
113
vdataqueue[]{
114
	name	= QdmTouche;
115
	wait_queue	= TA_TFIFO;
116
	buffer_size	= 16;
117
};
118
119
interrupt_vector[8]{
120
	os_int	= YES;
121
	entry_address	= uart0_dma0_tr_OK();
122
	pragma_switch	= ;
123
};
124
interrupt_vector[17]{
125
	os_int	= YES;
126
	entry_address	= uart0_itx_ok();
127
	pragma_switch	= ;
128
};
129
interrupt_vector[18]{
130
	os_int	= YES;
131
	entry_address	= uart0_irx();
132
	pragma_switch	= ;
133
};
134
interrupt_vector[21]{
135
	os_int	= YES;
136
	entry_address	= mesure();
137
	pragma_switch	= ;
138
};
139
interrupt_vector[43]{
140
	os_int	= YES;
141
	entry_address	= itouche();
142
	pragma_switch	= ;
143
};
144
145
146
147
//
148
// End of Configuration
149
//