merge hostsim in main
[aversive.git] / projects / microb2010 / ballboard / diagnostic_config.h
1 /*  
2  *  Copyright Droids Corporation, Microb Technology, Eirbot (2005)
3  * 
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  *
18  *  Revision : $Id: diagnostic_config.h,v 1.1 2009-03-29 18:44:54 zer0 Exp $
19  *
20  */
21
22 #ifndef _DEBUG_CONFIG_
23 #define _DEBUG_CONFIG_ 1.0 // version
24
25
26 /** port line definition for the show_int_loop() function */
27 /* undefine it to disable this functionnality */
28 #define INTERRUPT_SHOW_PORT PORTA
29 #define INTERRUPT_SHOW_BIT  3
30
31
32
33 /** memory mark for the min_stack_space_available() function
34     the ram is filled with this value after a reset ! */
35 #define MARK 0x55
36
37 /** the mark is inserted in whole RAM if this is enabled 
38     (could lead to problems if you need to hold values through a reset...)
39     so it's better to disable it.
40     stack counting is not affected */
41 //#define DIAG_FILL_ENTIRE_RAM
42
43
44 #endif //_DEBUG_CONFIG_