summaryrefslogtreecommitdiff
path: root/libcpu/unicore32
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-07-21 22:36:42 -0400
committerGitHub <[email protected]>2023-07-22 10:36:42 +0800
commit244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch)
tree8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /libcpu/unicore32
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'libcpu/unicore32')
-rw-r--r--libcpu/unicore32/sep6200/sep6200.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/unicore32/sep6200/sep6200.h b/libcpu/unicore32/sep6200/sep6200.h
index 773b505a02..4b9eab6d79 100644
--- a/libcpu/unicore32/sep6200/sep6200.h
+++ b/libcpu/unicore32/sep6200/sep6200.h
@@ -374,8 +374,8 @@ typedef int ER; /* Error code. A signed integer. */
rt_kprintf(fmt,##__VA_ARGS__); \
}while(0)
-#define RT_DEBUG
-#ifdef RT_DEBUG
+#define RT_USING_DEBUG
+#ifdef RT_USING_DEBUG
#define DBOUT(fmt,...) \
do \
{ \
@@ -387,7 +387,7 @@ typedef int ER; /* Error code. A signed integer. */
do{}while(0)
#endif
-#ifdef RT_DEBUG
+#ifdef RT_USING_DEBUG
#define ASSERT(arg) \
if((arg) == 0) \
{ \