250
8.1.3
Configuration File Example
The following is the configuration file example.
1
////////////////////////////////////////////////////////////////////////////////
2
//
3
// kernel.cfg : building file for MR100 Ver.1.00
4
//
5
// Generated by M3T-MR100 GUI Configurator at 2007/02/28 19:01:20
6
//
7
////////////////////////////////////////////////////////////////////////////////
8
9
// system definition
10
system{
11
stack_size =
256;
12
sys
テ
m_IPL
= 4;
13
message_pri
= 64;
14
timeout = NO;
15
task_pause
= NO;
16
tick_nume
= 10;
17
tick_deno
= 1;
18
};
19
20
// max definition
21
maxdefine{
22
max_task
=
3;
23
max_flag
=
4;
24
max_sem
=
3;
25
max_dtq
=
3;
26
max_mbx
=
4;
27
max_mpf
=
3;
28
max_mpl
=
3;
29
max_cyh
=
4;
30
max_alh
=
2;
31
};
32
33
// system clock definition
34
clock{
35
timer_clock =
20.000000MHz;
36
timer
=
A0;
37
IPL =
3;
38
};
39
40
task[]{
41
entry_address
=
task1();
42
name
=
ID_task1;
43
stack_size =
256;
44
priority
=
1;
45
initial_start
=
OFF;
46
exinf
=
0x0;
47
};
48
task[]{
49
entry_address
=
task2();
50
name
=
ID_task2;
51
stack_size =
256;
52
priority
=
5;
53
initial_start
=
ON;
54
exinf
=
0xFFFF;
55
};
56
task[3]{
57
entry_address
=
task3();
58
name
=
ID_task3;
59
stack_size =
256;
60
priority
=
7;
61
initial_start
=
OFF;
62
exinf
=
0x0;
63
};
64
65
flag[]{
66
name
=
ID_flg1;
67
initial_pattern
=
0x00000000;
68
wait_queue =
TA_TFIFO;
69
clear_attribute
=
NO;
70
wait_multi =
TA_WSGL;
71
};
72
flag[1]{
73
name
=
ID_flg2;
74
initial_pattern
=
0x00000001;
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...