source: anotherchoice/tags/jsp-1.4.4-full-UTF8/tools/M32C-RENESAS/sample1.cfg@ 363

Last change on this file since 363 was 363, checked in by ykominami, 5 years ago

add tags/jsp-1.4.4-full-UTF8

  • Property svn:executable set to *
File size: 947 bytes
RevLine 
[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
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"
28#include "../../systask/logtask.cfg"
Note: See TracBrowser for help on using the repository browser.