source: asp3_gr_sakura/trunk/sample/sample1.cfg@ 317

Last change on this file since 317 was 317, checked in by coas-nagasima, 7 years ago

GR-SAKURA向けASP3を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain
File size: 922 bytes
Line 
1/*
2 * サンプルプログラム(1)のシステムコンフィギュレーションファイル
3 *
4 * $Id: sample1.cfg 317 2017-08-03 13:14:26Z coas-nagasima $
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 TOPPERS_SUPPORT_OVRHDR
17DEF_OVR({ TA_NULL, overrun_handler });
18#endif /* TOPPERS_SUPPORT_OVRHDR */
19#ifdef INTNO1
20CFG_INT(INTNO1, { INTNO1_INTATR, INTNO1_INTPRI });
21CRE_ISR(INTNO1_ISR, { TA_NULL, 0, INTNO1, intno1_isr, 1 });
22#endif /* INTNO1 */
23#ifdef CPUEXC1
24DEF_EXC(CPUEXC1, { TA_NULL, cpuexc_handler });
25#endif /* CPUEXC1 */
26DEF_KMM({ KMM_SIZE, NULL });
Note: See TracBrowser for help on using the repository browser.