source: asp3_wo_tecs/trunk/extension/dcre/sample/sample1.cfg@ 306

Last change on this file since 306 was 306, checked in by ertl-honda, 7 years ago

3.1.0を反映

File size: 866 bytes
Line 
1/*
2 * サンプルプログラム(1)のシステムコンフィギュレーションファイル
3 *
4 * $Id: sample1.cfg 725 2016-04-02 21:50:49Z ertl-hiro $
5 */
6INCLUDE("tecsgen.cfg");
7
8#include "sample1.h"
9CRE_TSK(TASK1, { TA_NULL, 1, task, MID_PRIORITY, STACK_SIZE, NULL });
10CRE_TSK(TASK2, { TA_NULL, 2, task, MID_PRIORITY, STACK_SIZE, NULL });
11CRE_TSK(MAIN_TASK, { TA_ACT, 0, main_task, MAIN_PRIORITY, STACK_SIZE, NULL });
12CRE_TSK(EXC_TASK, { TA_NULL, 0, exc_task, EXC_PRIORITY, STACK_SIZE, NULL });
13AID_TSK(3);
14CRE_CYC(CYCHDR1, { TA_NULL, { TNFY_HANDLER, 0, cyclic_handler }, 2000000, 0 });
15AID_ALM(1);
16#ifdef INTNO1
17CFG_INT(INTNO1, { INTNO1_INTATR, INTNO1_INTPRI });
18CRE_ISR(INTNO1_ISR, { TA_NULL, 0, INTNO1, intno1_isr, 1 });
19#endif /* INTNO1 */
20#ifdef CPUEXC1
21DEF_EXC(CPUEXC1, { TA_NULL, cpuexc_handler });
22#endif /* CPUEXC1 */
23DEF_KMM({ KMM_SIZE, NULL });
Note: See TracBrowser for help on using the repository browser.