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 ------------------------------*/
28 #ifdef USE_DBG_PRINTF
\r
30 #define DBG_T32_TERMINAL 1
\r
32 #define DGB_HOOK_SWAP 1
\r
34 #define DBG_START_OS 1
\r
36 #define DBG_EXCEPTION 1
\r
38 // C99, see gcc manual for more info if no args..
\r
39 // WARNING!! This eats lots and lots of stack, about 500bytes ??
\r
41 //#defineos_printf(format,...) printf(format,__VA_ARGS__)
\r
42 #define os_printf(format,...) simple_printf(format,__VA_ARGS__)
\r
43 // #define os_printf(format,...) iprintf(format,__VA_ARGS__)
\r
45 // Macro's that don't take the whole stack...
\r
46 // #define os_print_hex()
\r
47 // #define os_print(char *str);
\r
51 #define os_printf(format,...)
\r