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 
26 
31 #define SDCARD_LOGGING_FILE_NAME ("leaf.log")
32 
38 //#define DISABLE_LOGGING
39 
45 #define ENABLE_SDCARD_LOGGING (0)
46 
59 #define LOG_LEVEL LOG_LEVEL_NOTICE
60 
65 #define DEBUG_MEMORY (0)
66 
71 #define LCD_TRACE_LEVEL_OFF (0)
72 
77 #define LCD_TRACE_LEVEL_ERROR (1)
78 
83 #define LCD_TRACE_LEVEL_WARNING (2)
84 
89 #define LCD_TRACE_LEVEL_INFO (3)
90 
95 #define LCD_TRACE_LEVEL_DEBUG (4)
96 
101 #define OK_STRING ("OK")
102 
107 #define ERROR_STRING ("ERROR")
108 
113 #define FAIL_STRING ("FAIL")
114 
119 #define YES_STRING ("YES")
120 
125 #define NO_STRING ("NO")
126 
131 #define ON_STRING ("ON")
132 
137 #define OFF_STRING ("OFF")
138 
143 #define SAVE_STRING ("SAVE")
144 
149 #define STIMA_LCD_TRACE_LEVEL (LCD_TRACE_LEVEL_INFO)
150 
151 #endif