- 209 -
// System Definition
system{
stack_size
= 1024;
priority
= 5;
system_IPL
= 4;
tick_nume
=
10;
};
//System Clock Definition
clock{
mpu_clock
= 20MHz;
timer
= A0;
IPL
= 4;
};
//Task Definition
task[1]{
name
=
ID_main;
entry_address
= main();
stack_size
= 512;
priority
= 1;
initial_start
= ON;
};
task[2]{
name
=
ID_image;
entry_address
= image();
stack_size
= 512;
priority
= 2;
};
task[3]{
name
=
ID_printer;
entry_address
= printer();
stack_size
= 512;
priority
= 4;
};
task[4]{
name
=
ID_idle;
entry_address
= idle();
stack_size
= 256;
priority
= 5;
};
//Eventflag Definition
flag[1]{
name
= pagein;
};
//Interrupt Vector Definition
interrupt_vector[0x23]{
os_int
= YES;
entry_address
= sent_in();
};
Figure 6.3 Configuration File Example
6.2.3
Configurator Execution
When using HEW, select "Build all," which enables the user to execute the procedures described in 6.2.3, "Executing the
Configurator," and 6.2.4, "System Generation."
Execute the configurator cfg100 to generate system data definition files (sys_rom.inc, sys_ram.inc), include files
(mr100.inc, kernel_id.h), and a system generation procedure description file (makefile) from the configuration file.
A> cfg100 -v lbp.cfg
MR100 system configurator V.1.00.18
Copyright 2003,2005 RENESAS TECHNOLOGY CORPORATION
AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED.
MR100 version ==> V.1.01 Release 01
A>
Figure 6.4 Configurator Execution
6.2.4
System generation
Execute the make command
to generate the system.
Содержание 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...