[dbg] add dlog macro

This commit is contained in:
bernard 2023-01-03 22:13:01 +08:00 committed by guo
parent e498687a58
commit 79b93c2199
1 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,13 @@ extern "C" {
#define DBG_COLOR
#endif
/* for dlog */
#ifdef PKG_USING_DLOG
#include <dlog.h>
#else
#define DLOG(...)
#endif
#if defined(RT_USING_ULOG)
/* using ulog compatible with rtdbg */
#include <ulog.h>