]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5554sim/config/Det_Cfg.h
Initial commit.
[arc.git] / boards / mpc5554sim / config / Det_Cfg.h
1 /* -------------------------------- Arctic Core ------------------------------
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com
3  *
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
5  *
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>.
9  *
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
13  * for more details.
14  * -------------------------------- Arctic Core ------------------------------*/
15
16
17
18
19
20
21
22
23 /*\r
24  * Development Error Tracer driver\r
25  *\r
26  * Specification: Autosar v2.0.1, Final\r
27  *\r
28  */\r
29 #ifndef _DET_CFG_H_\r
30 #define _DET_CFG_H_\r
31 \r
32 #define DET_ENABLE_CALLBACKS STD_ON  // Enable to use callback on errors\r
33 #define DET_USE_RAMLOG       STD_ON  // Enable to log DET errors to ramlog\r
34 #define DET_WRAP_RAMLOG      STD_ON  // The ramlog wraps around when reaching the end\r
35 #define DET_USE_STDERR       STD_OFF // Enable to get DET errors on stderr\r
36 \r
37 #define DET_DEINIT_API       STD_ON // Enable/Disable the Det_DeInit function\r
38 \r
39 #define DET_RAMLOG_SIZE (32)        // Number of entries in ramlog\r
40 #define DET_NUMBER_OF_CALLBACKS (5) // Number of callbacks\r
41 \r
42 #endif /*_DET_CFG_H_*/\r