source: anotherchoice/tags/jsp-1.4.4-full-UTF8/tools/WINDOWS/sample1.cfg@ 26

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

initial

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