OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [include/] [debugprint.h] - Diff between revs 9 and 32

Show entire file | Details | Blame | View Log

Rev 9 Rev 32
Line 54... Line 54...
 
 
#ifdef DEBUG_LEVEL_INFO 
#ifdef DEBUG_LEVEL_INFO 
/** print debug information */
/** print debug information */
#define print_info(String) ser_printString("INFO: "); printf_tiny(String)
#define print_info(String) ser_printString("INFO: "); printf_tiny(String)
#else
#else
 
/** print debug information */
#define print_info(String) 
#define print_info(String) 
#endif
#endif
 
 
#ifdef DEBUG_LEVEL_WARN
#ifdef DEBUG_LEVEL_WARN
/** print debug warnings */
/** print debug warnings */
#define print_warn(String) ser_printString("WARNING: "); printf_tiny(String)
#define print_warn(String) ser_printString("WARNING: "); printf_tiny(String)
#else
#else
 
/** print debug warnings */
#define print_warn(String) 
#define print_warn(String) 
#endif
#endif
 
 
#ifdef DEBUG_LEVEL_ERROR
#ifdef DEBUG_LEVEL_ERROR
/* print debug errors */
/** print debug errors */
#define print_err(String) ser_printString("ERROR: "); printf_tiny(String)
#define print_err(String) ser_printString("ERROR: "); printf_tiny(String)
#else
#else
 
/** print debug errors */
#define print_err(String) 
#define print_err(String) 
#endif
#endif
 
 
 
 
#endif /* _DEBUGPRINT_H_ */
#endif /* _DEBUGPRINT_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.