STIMA  3
debug_config.h
Go to the documentation of this file.
1 
3 /*********************************************************************
4 Copyright (C) 2017 Marco Baldinetti <m.baldinetti@digiteco.it>
5 authors:
6 Paolo Patruno <p.patruno@iperbole.bologna.it>
7 Marco Baldinetti <m.baldinetti@digiteco.it>
8 
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 **********************************************************************/
22 
23 #ifndef _DEBUG_CONFIG_H
24 #define _DEBUG_CONFIG_H
25 
31 //#define DISABLE_LOGGING
32 
38 #define ENABLE_SDCARD_LOGGING (0)
39 
52 #define LOG_LEVEL LOG_LEVEL_NOTICE
53 
58 #define DEBUG_MEMORY (0)
59 
64 #define LCD_TRACE_LEVEL_OFF (0)
65 
70 #define LCD_TRACE_LEVEL_ERROR (1)
71 
76 #define LCD_TRACE_LEVEL_WARNING (2)
77 
82 #define LCD_TRACE_LEVEL_INFO (3)
83 
88 #define LCD_TRACE_LEVEL_DEBUG (4)
89 
94 #define OK_STRING ("OK")
95 
100 #define ERROR_STRING ("ERROR")
101 
106 #define FAIL_STRING ("FAIL")
107 
112 #define YES_STRING ("YES")
113 
118 #define NO_STRING ("NO")
119 
124 #define ON_STRING ("ON")
125 
130 #define OFF_STRING ("OFF")
131 
136 #define SAVE_STRING ("SAVE")
137 
142 #define STIMA_LCD_TRACE_LEVEL (LCD_TRACE_LEVEL_INFO)
143 
144 #endif