source: anotherchoice/tags/jsp-1.4.4-full-UTF8/tools/M16C-RENESAS/sample1m.cfg@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 911 bytes
Line 
1/*
2 * @(#) $Id: sample1m.cfg,v 1.1 2004/05/27 12:09:38 honda Exp $
3 */
4
5/*
6 * サンプルプログラム(1)のシステムコンフィギュレーションファイル
7 */
8
9#define _MACRO_ONLY
10#include "sample1.h"
11
12INCLUDE("\"sample1.h\"");
13CRE_TSK(TASK1, { TA_HLNG, (VP_INT) 1, task, MID_PRIORITY, STACK_SIZE, NULL });
14CRE_TSK(TASK2, { TA_HLNG, (VP_INT) 2, task, MID_PRIORITY, STACK_SIZE, NULL });
15CRE_TSK(TASK3, { TA_HLNG, (VP_INT) 3, task, MID_PRIORITY, STACK_SIZE, NULL });
16CRE_TSK(MAIN_TASK, { TA_HLNG|TA_ACT, 0, main_task, MAIN_PRIORITY,
17 STACK_SIZE, NULL });
18DEF_TEX(TASK1, { TA_HLNG, tex_routine });
19DEF_TEX(TASK2, { TA_HLNG, tex_routine });
20DEF_TEX(TASK3, { TA_HLNG, tex_routine });
21CRE_CYC(CYCHDR1, { TA_HLNG, 0, cyclic_handler, 2000, 0 });
22#ifdef CPUEXC1
23DEF_EXC(CPUEXC1, { TA_HLNG, cpuexc_handler} );
24#endif /* CPUEXC1 */
25
26#include "../../systask/timer.cfg"
27#include "../../systask/serial.cfg"
Note: See TracBrowser for help on using the repository browser.