OSDN Git Service

first commit
[toppersjsp4bf/sandbox.git] / sandbox / kernel / sample / cxx_sample2.cfg
1 /*
2  *  @(#) $Id: cxx_sample2.cfg,v 1.1 2009/01/31 05:27:37 suikan Exp $
3  */
4
5 #define _MACRO_ONLY
6 #include "cxx_sample2.h"
7
8 INCLUDE("\"cxx_sample2.h\"");
9 CRE_TSK(MAIN_TASK, { TA_HLNG | TA_ACT, 0, main_task, MAIN_PRIORITY,
10             STACK_SIZE, NULL });
11 CRE_TSK(1, { TA_HLNG, (VP_INT) 1, task, MID_PRIORITY, STACK_SIZE, NULL });
12 CRE_TSK(2, { TA_HLNG, (VP_INT) 2, task, MID_PRIORITY, STACK_SIZE, NULL });
13 CRE_TSK(3, { TA_HLNG, (VP_INT) 3, task, MID_PRIORITY, STACK_SIZE, NULL });
14 CRE_TSK(4, { TA_HLNG, (VP_INT) 4, task, MID_PRIORITY, STACK_SIZE, NULL });
15 CRE_TSK(5, { TA_HLNG, (VP_INT) 5, task, MID_PRIORITY, STACK_SIZE, NULL });
16
17 CRE_SEM(1, { TA_TFIFO, 1, 1 });
18 CRE_SEM(2, { TA_TFIFO, 1, 1 });
19 CRE_SEM(3, { TA_TFIFO, 1, 1 });
20 CRE_SEM(4, { TA_TFIFO, 1, 1 });
21 CRE_SEM(5, { TA_TFIFO, 1, 1 });
22
23 CRE_FLG(EVENT_FLAG1, { TA_TFIFO | TA_WSGL, 0 });
24
25 #include "@(SRCDIR)/systask/cxxrt.cfg"
26 #include "@(SRCDIR)/systask/timer.cfg"
27 #include "@(SRCDIR)/systask/serial.cfg"
28 #include "@(SRCDIR)/systask/logtask.cfg"