source: ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.cfg@ 93

Last change on this file since 93 was 93, checked in by nmir-saito, 9 years ago

add Combined package of SSP kernel for QB-R5F100LE-TB(RL78 processor)

File size: 1.1 KB
Line 
1/*
2 * TOPPESRS/SSPƒJ[ƒlƒ‹‚̃Tƒ“ƒvƒ‹ƒvƒƒOƒ‰ƒ€
3 */
4
5#include "sample1.h"
6
7INCLUDE("target_timer.cfg");
8INCLUDE("syssvc/serial.cfg");
9INCLUDE("syssvc/banner.cfg");
10INCLUDE("syssvc/syslog.cfg");
11INCLUDE("syssvc/logtask.cfg");
12
13CRE_TSK(INIT_TASK , { TA_ACT , 0 , init_task , INIT_PRIORITY , STACK_SIZE , NULL });
14CRE_TSK(MAIN_TASK , { TA_NULL , 0 , main_task , MAIN_PRIORITY , STACK_SIZE , NULL });
15CRE_TSK(TASK1 , { TA_NULL , 1 , task , TASK1_PRIORITY , STACK_SIZE , NULL });
16CRE_TSK(TASK2 , { TA_NULL , 2 , task , TASK2_PRIORITY , STACK_SIZE , NULL });
17CRE_TSK(TASK3 , { TA_NULL , 3 , task , TASK3_PRIORITY , STACK_SIZE , NULL });
18
19DEF_EPR(TASK3 , { TASK3_EXEPRIORITY });
20
21CRE_CYC(MAIN_CYC , { TA_NULL , MAIN_TASK , main_task_cychdr , 100 , 100 });
22CRE_CYC(CYC1 , { TA_NULL , 0 , cyclic_handler , 2000 , 2000 });
23CRE_ALM(ALM1 , { TA_NULL , TASK2 , alarm_handler });
24
25CRE_FLG(FLG1 , { TA_NULL , 0x00000000 });
26CRE_DTQ(DTQ1 , { TA_NULL , 3 , NULL });
27
28DEF_STK({ ALL_STACKSIZE , NULL });
29DEF_ICS({ INTERRUPT_STACKSIZE , NULL });
30
31#ifdef CPUEXC1
32DEF_EXC(CPUEXC1 , { TA_NULL , exc_handler });
33#endif /* CPUEXC1 */
34
Note: See TracBrowser for help on using the repository browser.