// System Definition
system{
stack_size = 1024;
priority = 10;
system_IPL = 4;
message_pri = 1;
tic_deno = 1;
tic_nume = 1;
context = FPSW,ACC;
};
//System Clock Definition
clock{
template = rx610.tpl; // Please modify when you use other than RX610
timer = CMT0; // Please modify for your H/W environment
timer_clock = 25MHz; // Please modify for your H/W environment
IPL = 3; // Please modify for your H/W environment
};
//Task Definition
task[]{
name = ID_TASK1;
entry_address = task1();
initial_start = ON;
stack_size = 512;
priority = 1;
// stack_section = STK1;
exinf = 1;
};
task[]{
name = ID_TASK2;
entry_address = task2();
initial_start = ON;
stack_size = 512;
priority = 2;
// stack_section = STK2;
exinf = 2;
};
// Semaphore Definition
semaphore[]{
name = ID_SEM1;
max_count = 1;
initial_count = 1;
wait_queue = TA_TPRI;
};
// Cyclic Handler Definition
cyclic_hand[] {
name = ID_CYC1;
entry_address = cyh1();
interval_counter = 100;
start = ON;
phsatr = OFF;
phs_counter = 100;
exinf = 1;
};
// Alarm Handler (dummy) Definition
alarm_hand[] {
name = ID_ALM1;
entry_address = alh1();
exinf = 1;
};
// Interrupt Handler for "Taking in trace chart by software trace mode"
// Please remove the commnets when "Taking in trace chart by software trace mode"
// is selected.
// interrupt_vector[29]{ // CMT CH1
// os_int = NO;
// entry_address = _RIUSR_trcSW_interrupt(); // in trcSW_cmt.src
// };
// Interrupt Handler for "Taking in long-statistics by software trace mode"
// Please remove the commnets when "Taking in long-statistics by software trace
// mode" is selected.
// interrupt_vector[29]{ // CMT CH1
// os_int = NO;
// entry_address = _RIUSR_trcLONG_interrupt(); // in trcLONG_cmt.src
// };
// Interrupt Handler (dummy) Definition
interrupt_vector[64]{
os_int = YES;
entry_address = inh64();
pragma_switch = E;
};
|