[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)

This commit is contained in:
Man, Jianting (Meco)
2023-07-22 10:36:42 +08:00
committed by GitHub
parent 52d3637fba
commit 244b903e5d
34 changed files with 92 additions and 102 deletions
@@ -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)
+1 -1
View File
@@ -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