RT-Thread / RT-Thread/rt-thread

Cortex M 的开关中断保护 用 basepri 这个寄存器

Open
#7,110 0 comments 4 reactions 0 assignees View on GitHub

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 这个寄存器

https://www.freertos.org/FreeRTOS_Support_Forum_Archive/February_2014/freertos_Cortex_M3_4_BASEPRI_2cd231d0j.html

Originally posted by @mysterywolf in https://github.com/RT-Thread/rt-thread/issues/5808#issuecomment-1146984762

这个特性对实时性有决定性影响,FreeRTOS,ThreadX都支持,建议尽快实装。
自己改源码不如官方库内置方便省心
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.