mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user