1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
24 #define OS_SC1 STD_ON /* | OS_SC2 | OS_SC3 | OS_SC4 */
25 #define OS_STACK_MONITORING STD_ON
26 #define OS_STATUS_EXTENDED STD_ON /* OS_STATUS_STANDARD */
27 #define OS_USE_GET_SERVICE_ID STD_ON
28 #define OS_USE_PARAMETER_ACCESS STD_ON
29 #define OS_RES_SCHEDULER STD_ON
34 #define APPLICATION_ID_application_1 0
\r
35 #define APPLICATION_CNT 1
\r
37 #define TASK_ID_OsIdle 0
\r
38 #define TASK_ID_etask_1 1
\r
39 #define TASK_ID_etask_2 2
\r
40 #define TASK_ID_btask_3 3
\r
42 void etask_1( void );
\r
43 void etask_2( void );
\r
44 void btask_3( void );
\r
46 //#define TASK_ID_os_tick 8
\r
48 #define COUNTER_ID_OsTick 0
50 // NOT GENERATED( for test system only )
\r
51 #define SYSTEM_COUNTER_PERIOD 100
52 #define OS_TICK_DURATION_IN_US 2000
\r
54 #if defined(USE_SIMPLE_PRINTF)
\r
55 #define PRIO_STACK_SIZE 600
57 #define PRIO_STACK_SIZE 200
60 #define OS_INTERRUPT_STACK_SIZE 200
\r
62 // Just define them if you want to use them.
\r
64 #undef SCHEDULETABLE_USE
\r
69 #define EVENT_0 (1<<0)
\r
70 #define EVENT_1 (1<<1)
\r
71 #define EVENT_2 (1<<2)
\r
74 #endif /* OS_CFG_H_ */
\r