RT-Thread / RT-Thread/rt-thread
Cortex M 的开关中断保护 用 basepri 这个寄存器
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
龙伟:Cortex M 的开关中断保护 用 basepri 这个寄存器
Originally posted by @mysterywolf in https://github.com/RT-Thread/rt-thread/issues/5808#issuecomment-1146984762
这个特性对实时性有决定性影响,FreeRTOS,ThreadX都支持,建议尽快实装。
自己改源码不如官方库内置方便省心

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked FreeRTOS support discussion and locating RT-Thread’s current Cortex-M interrupt protection implementation. Determine how BASEPRI should replace or complement the existing mechanism, then verify that interrupt masking behavior remains correct on supported Cortex-M targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100