summaryrefslogtreecommitdiff
path: root/bsp
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 /bsp
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'bsp')
-rw-r--r--bsp/Infineon/docs/PSOC6系列BSP制作教程.md2
-rw-r--r--bsp/efm32/startup.c2
-rw-r--r--bsp/gd32/arm/docs/GD32_ARM系列BSP制作教程.md2
-rw-r--r--bsp/gd32/risc-v/docs/GD32_RISC-V系列BSP制作教程.md2
-rw-r--r--bsp/imxrt/docs/IMXRT系列BSP制作教程.md2
-rw-r--r--bsp/lpc55sxx/docs/LPC55Sxx系列BSP制作教程.md2
-rw-r--r--bsp/phytium/aarch32/configs/e2000d_rtsmart.h2
-rw-r--r--bsp/phytium/aarch32/configs/e2000d_rtthread.h2
-rw-r--r--bsp/phytium/aarch32/configs/e2000q_rtsmart.h2
-rw-r--r--bsp/phytium/aarch32/configs/e2000q_rtthread.h2
-rw-r--r--bsp/phytium/aarch64/configs/e2000d_rtsmart.h2
-rw-r--r--bsp/phytium/aarch64/configs/e2000d_rtthread.h2
-rw-r--r--bsp/phytium/aarch64/configs/e2000q_rtsmart.h2
-rw-r--r--bsp/phytium/aarch64/configs/e2000q_rtthread.h2
-rw-r--r--bsp/renesas/docs/Building_a_BSP_for_the_RA_Series_Dev_Board.md2
-rw-r--r--bsp/renesas/docs/RA系列BSP制作教程.md2
-rw-r--r--bsp/stm32/docs/How to make a STM32 BSP for RT-Thread.md2
-rw-r--r--bsp/stm32/docs/STM32系列BSP制作教程.md2
18 files changed, 18 insertions, 18 deletions
diff --git a/bsp/Infineon/docs/PSOC6系列BSP制作教程.md b/bsp/Infineon/docs/PSOC6系列BSP制作教程.md
index 52b61600fb..1c80634913 100644
--- a/bsp/Infineon/docs/PSOC6系列BSP制作教程.md
+++ b/bsp/Infineon/docs/PSOC6系列BSP制作教程.md
@@ -385,7 +385,7 @@ PSOC6 BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置和
#### 4.1.2 ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/efm32/startup.c b/bsp/efm32/startup.c
index d120eed4a1..acad123826 100644
--- a/bsp/efm32/startup.c
+++ b/bsp/efm32/startup.c
@@ -36,7 +36,7 @@ extern int __bss_end__;
/* External function prototypes ----------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
-#ifdef RT_DEBUG
+#ifdef RT_USING_DEBUG
/***************************************************************************//**
* @brief
* Reports the name of the source file and the source line number where the
diff --git a/bsp/gd32/arm/docs/GD32_ARM系列BSP制作教程.md b/bsp/gd32/arm/docs/GD32_ARM系列BSP制作教程.md
index 3a33fd5a68..8e0ea7e9c5 100644
--- a/bsp/gd32/arm/docs/GD32_ARM系列BSP制作教程.md
+++ b/bsp/gd32/arm/docs/GD32_ARM系列BSP制作教程.md
@@ -790,7 +790,7 @@ GD32 BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置和
#### 4.1.2 ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/gd32/risc-v/docs/GD32_RISC-V系列BSP制作教程.md b/bsp/gd32/risc-v/docs/GD32_RISC-V系列BSP制作教程.md
index a7d8264b72..b020a0f0c4 100644
--- a/bsp/gd32/risc-v/docs/GD32_RISC-V系列BSP制作教程.md
+++ b/bsp/gd32/risc-v/docs/GD32_RISC-V系列BSP制作教程.md
@@ -594,7 +594,7 @@ GD32 BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置和
#### 4.1.2 ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/imxrt/docs/IMXRT系列BSP制作教程.md b/bsp/imxrt/docs/IMXRT系列BSP制作教程.md
index 3e26c1f82f..775d922c1b 100644
--- a/bsp/imxrt/docs/IMXRT系列BSP制作教程.md
+++ b/bsp/imxrt/docs/IMXRT系列BSP制作教程.md
@@ -237,7 +237,7 @@ i.MX RT BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置�
#### ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/lpc55sxx/docs/LPC55Sxx系列BSP制作教程.md b/bsp/lpc55sxx/docs/LPC55Sxx系列BSP制作教程.md
index 20770155a2..63be9b620f 100644
--- a/bsp/lpc55sxx/docs/LPC55Sxx系列BSP制作教程.md
+++ b/bsp/lpc55sxx/docs/LPC55Sxx系列BSP制作教程.md
@@ -238,7 +238,7 @@ LPC BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置和 I
#### ENV 配置
- 系统心跳统一设置为 100(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/phytium/aarch32/configs/e2000d_rtsmart.h b/bsp/phytium/aarch32/configs/e2000d_rtsmart.h
index 913e053bd7..7aae38b854 100644
--- a/bsp/phytium/aarch32/configs/e2000d_rtsmart.h
+++ b/bsp/phytium/aarch32/configs/e2000d_rtsmart.h
@@ -29,7 +29,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch32/configs/e2000d_rtthread.h b/bsp/phytium/aarch32/configs/e2000d_rtthread.h
index 9d6a4ca793..cadee425a4 100644
--- a/bsp/phytium/aarch32/configs/e2000d_rtthread.h
+++ b/bsp/phytium/aarch32/configs/e2000d_rtthread.h
@@ -28,7 +28,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch32/configs/e2000q_rtsmart.h b/bsp/phytium/aarch32/configs/e2000q_rtsmart.h
index 3e169f917d..4a866173bc 100644
--- a/bsp/phytium/aarch32/configs/e2000q_rtsmart.h
+++ b/bsp/phytium/aarch32/configs/e2000q_rtsmart.h
@@ -29,7 +29,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch32/configs/e2000q_rtthread.h b/bsp/phytium/aarch32/configs/e2000q_rtthread.h
index 39be678f07..7de715186f 100644
--- a/bsp/phytium/aarch32/configs/e2000q_rtthread.h
+++ b/bsp/phytium/aarch32/configs/e2000q_rtthread.h
@@ -28,7 +28,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch64/configs/e2000d_rtsmart.h b/bsp/phytium/aarch64/configs/e2000d_rtsmart.h
index d20b661fbb..4b8c32c9aa 100644
--- a/bsp/phytium/aarch64/configs/e2000d_rtsmart.h
+++ b/bsp/phytium/aarch64/configs/e2000d_rtsmart.h
@@ -29,7 +29,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch64/configs/e2000d_rtthread.h b/bsp/phytium/aarch64/configs/e2000d_rtthread.h
index 76b14cfc28..052dfdbd55 100644
--- a/bsp/phytium/aarch64/configs/e2000d_rtthread.h
+++ b/bsp/phytium/aarch64/configs/e2000d_rtthread.h
@@ -28,7 +28,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch64/configs/e2000q_rtsmart.h b/bsp/phytium/aarch64/configs/e2000q_rtsmart.h
index 7b4988e9a1..06660b7a34 100644
--- a/bsp/phytium/aarch64/configs/e2000q_rtsmart.h
+++ b/bsp/phytium/aarch64/configs/e2000q_rtsmart.h
@@ -29,7 +29,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/phytium/aarch64/configs/e2000q_rtthread.h b/bsp/phytium/aarch64/configs/e2000q_rtthread.h
index 556c088f1f..4dd6b1f99d 100644
--- a/bsp/phytium/aarch64/configs/e2000q_rtthread.h
+++ b/bsp/phytium/aarch64/configs/e2000q_rtthread.h
@@ -28,7 +28,7 @@
#define RT_KSERVICE_USING_STDLIB
#define RT_KPRINTF_USING_LONGLONG
-#define RT_DEBUG
+#define RT_USING_DEBUG
/* Inter-Thread communication */
diff --git a/bsp/renesas/docs/Building_a_BSP_for_the_RA_Series_Dev_Board.md b/bsp/renesas/docs/Building_a_BSP_for_the_RA_Series_Dev_Board.md
index ea434834bb..c965cfaf36 100644
--- a/bsp/renesas/docs/Building_a_BSP_for_the_RA_Series_Dev_Board.md
+++ b/bsp/renesas/docs/Building_a_BSP_for_the_RA_Series_Dev_Board.md
@@ -362,7 +362,7 @@ The guidelines consist of project configuration, ENV configuration, and IDE conf
#### 4.1.2 ENV Configuration
- The system tick is set as 1000 (The macro: RT_TICK_PER_SECOND)
-- Enable asserting in Debug options (The macro: RT_DEBUG)
+- Enable asserting in Debug options (The macro: RT_USING_DEBUG)
- The stack size of the system idle thread is set to be 256 (The macro: IDLE_THREAD_STACK_SIZE)
- Enable component auto initialization (The macro: RT_USING_COMPONENTS_INIT)
- Enable the `user main` option (The macro: RT_USING_USER_MAIN)
diff --git a/bsp/renesas/docs/RA系列BSP制作教程.md b/bsp/renesas/docs/RA系列BSP制作教程.md
index 90785a9bd0..06daf5eeb9 100644
--- a/bsp/renesas/docs/RA系列BSP制作教程.md
+++ b/bsp/renesas/docs/RA系列BSP制作教程.md
@@ -367,7 +367,7 @@ RA 的制作规范主要分为 3 个方面:工程配置,ENV 配置和 IDE �
#### 4.1.2 ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)
diff --git a/bsp/stm32/docs/How to make a STM32 BSP for RT-Thread.md b/bsp/stm32/docs/How to make a STM32 BSP for RT-Thread.md
index b5e84671d0..b57dfda12a 100644
--- a/bsp/stm32/docs/How to make a STM32 BSP for RT-Thread.md
+++ b/bsp/stm32/docs/How to make a STM32 BSP for RT-Thread.md
@@ -217,7 +217,7 @@ The specifications of making STM32 BSP are mainly divided into three aspects: en
#### 4.1.2 ENV configuration
- The system heartbeat is uniformly set to 1000 (Macro: RT_TICK_PER_SECOND)
-- The assertion in the debugging option needs to be turned on in the BSP (macro: RT_DEBUG)
+- The assertion in the debugging option needs to be turned on in the BSP (macro: RT_USING_DEBUG)
- The system idle thread stack size is uniformly set to 256 (Macro: IDLE_THREAD_STACK_SIZE)
- Turn on automatic component initialization (Macro: RT_USING_COMPONENTS_INIT)
- Need to enable the user main option (Macro: RT_USING_USER_MAIN)
diff --git a/bsp/stm32/docs/STM32系列BSP制作教程.md b/bsp/stm32/docs/STM32系列BSP制作教程.md
index 91eca7e3a0..fc32ecdcdc 100644
--- a/bsp/stm32/docs/STM32系列BSP制作教程.md
+++ b/bsp/stm32/docs/STM32系列BSP制作教程.md
@@ -265,7 +265,7 @@ STM32 BSP 的制作规范主要分为 3 个方面:工程配置,ENV 配置和
#### 4.1.2 ENV 配置
- 系统心跳统一设置为 1000(宏:RT_TICK_PER_SECOND)
-- BSP 中需要打开调试选项中的断言(宏:RT_DEBUG)
+- BSP 中需要打开调试选项中的断言(宏:RT_USING_DEBUG)
- 系统空闲线程栈大小统一设置为 256(宏:IDLE_THREAD_STACK_SIZE)
- 开启组件自动初始化(宏:RT_USING_COMPONENTS_INIT)
- 需要开启 user main 选项(宏:RT_USING_USER_MAIN)