Renesas M3T-MR100 Manual de usuario Pagina 223

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 222
- 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."
Ex
ecute 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.
Vista de pagina 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 303 304

Comentarios a estos manuales

Sin comentarios