[363] | 1 | /*
|
---|
| 2 | * @(#) $Id: sample1.cfg,v 1.1 2005/07/05 07:15:42 honda Exp $
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | /*
|
---|
| 6 | * ãµã³ãã«ããã°ã©ã (1)ã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #define _MACRO_ONLY
|
---|
| 10 | #include "sample1.h"
|
---|
| 11 |
|
---|
| 12 | INCLUDE("\"sample1.h\"");
|
---|
| 13 | CRE_TSK(TASK1, { TA_HLNG, (VP_INT) 1, task, MID_PRIORITY, STACK_SIZE, NULL });
|
---|
| 14 | CRE_TSK(TASK2, { TA_HLNG, (VP_INT) 2, task, MID_PRIORITY, STACK_SIZE, NULL });
|
---|
| 15 | CRE_TSK(TASK3, { TA_HLNG, (VP_INT) 3, task, MID_PRIORITY, STACK_SIZE, NULL });
|
---|
| 16 | CRE_TSK(MAIN_TASK, { TA_HLNG|TA_ACT, 0, main_task, MAIN_PRIORITY,
|
---|
| 17 | STACK_SIZE, NULL });
|
---|
| 18 | DEF_TEX(TASK1, { TA_HLNG, tex_routine });
|
---|
| 19 | DEF_TEX(TASK2, { TA_HLNG, tex_routine });
|
---|
| 20 | DEF_TEX(TASK3, { TA_HLNG, tex_routine });
|
---|
| 21 | CRE_CYC(CYCHDR1, { TA_HLNG, 0, cyclic_handler, 2000, 0 });
|
---|
| 22 | #ifdef CPUEXC1
|
---|
| 23 | DEF_EXC(CPUEXC1, { TA_HLNG, cpuexc_handler} );
|
---|
| 24 | #endif /* CPUEXC1 */
|
---|
| 25 |
|
---|
| 26 | #include "../../systask/timer.cfg"
|
---|
| 27 | #include "../../systask/serial.cfg"
|
---|
| 28 | #include "../../systask/logtask.cfg"
|
---|