]>
cloudbase.mooo.com Git - z180-stamp.git/blob - include/debug.h
45a1d504e0499d280917327687c9b88b3c1d8e32
13 #define debug_cond(cond, fmt, args...) \
16 printf_P(PSTR(fmt), ##args); \
19 #define debug(fmt, args...) \
20 debug_cond(_DEBUG, fmt, ##args)
25 #define DBG_P(lvl, format, ...) if (DEBUG>=lvl) \
26 fprintf_P( stdout, PSTR(format), ##__VA_ARGS__ )
28 #define DBG_P(lvl, ...)
33 void dump_eep(const uint8_t *addr
, unsigned int len
, char *title
);
34 void dump_ram(const uint8_t *addr
, unsigned int len
, char *title
);
35 void printfreelist(const char * title
);