Renesas M3T-MR100 用户手册
![Renesas](https://files.manualsbrain.com/attachments/59153266feca598c11e08bf1f143ccfcf45441a4/common/fit/150/50/d3d06de51d338eb4f916b44a9629f9d48697a59cd7344be40cf24bae01c5/brand_logo.gif)
- 209 -
// System Definition
system{
system{
stack_size
= 1024;
priority
= 5;
system_IPL
= 4;
tick_nume
=
10;
};
//System Clock Definition
clock{
//System Clock Definition
clock{
mpu_clock
= 20MHz;
timer
= A0;
IPL
= 4;
};
//Task Definition
task[1]{
name
//Task Definition
task[1]{
name
=
ID_main;
entry_address
= main();
stack_size
= 512;
priority
= 1;
initial_start
= ON;
};
task[2]{
name
task[2]{
name
=
ID_image;
entry_address
= image();
stack_size
= 512;
priority
= 2;
};
task[3]{
name
task[3]{
name
=
ID_printer;
entry_address
= printer();
stack_size
= 512;
priority
= 4;
};
task[4]{
name
task[4]{
name
=
ID_idle;
entry_address
= idle();
stack_size
= 256;
priority
= 5;
};
//Eventflag Definition
flag[1]{
//Eventflag Definition
flag[1]{
name
= pagein;
};
//Interrupt Vector Definition
interrupt_vector[0x23]{
//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."
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.
(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.
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.