262
9.3 Configuration File
1 //*************************************************************************
2 //
3 // COPYRIGHT(C) 2003,2005 RENESAS TECHNOLOGY CORPORATION
4 // AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
5 //
6 // MR100 System Configuration File.
7 // "$Id: smp.cfg,v 1.5 2005/06/15 05:41:54 inui Exp $"
8 //
9 //*************************************************************************
10
11 // System Definition
12 system{
13 stack_size = 1024;
14 priority = 10;
15 system_IPL = 4;
16 tic_nume = 1;
17 tic_deno = 1;
18 message_pri = 255;
19 };
20 //System Clock Definition
21 clock{
22 mpu_clock = 20MHz;
23 timer = A0;
24 IPL = 4;
25 };
26 //Task Definition
27 //
28 task[]{
29 entry_address = main();
30 name = ID_main;
31 stack_size = 100;
32 priority = 1;
33 initial_start = ON;
34 };
35 task[]{
36 entry_address
= task1();
37 name = ID_task1;
38 stack_size = 500;
39 priority = 2;
40 };
41 task[]{
42 entry_address = task2();
43 name = ID_task2;
44 stack_size = 500;
45 priority = 3;
46 };
47
48 semaphore[]{
49 name = ID_sem1;
50 max_count = 1;
51 initial_count = 1;
52 wait_queue = TA_TPRI;
53 };
54
55
56
57 cyclic_hand [1] {
58 name = ID_cyh1;
59 interval_counter = 100;
60 start = OFF;
61 phsatr = OFF;
62 phs_counter = 0;
63 entry_address = cyh1();
64 exinf = 1;
65 };