Xu Lihua, Wang Yihuai, Xi Shengxin. ANALYSIS OF RT-THREAD CONTEXT SWITCH MECHANNISM BASED ON CORTEX -M4 KERNEL[J]. Computer Applications and Software, 2025, 42(1): 213-216,302. DOI: 10.3969/j.issn.1000-386x.2025.01.030
Citation: Xu Lihua, Wang Yihuai, Xi Shengxin. ANALYSIS OF RT-THREAD CONTEXT SWITCH MECHANNISM BASED ON CORTEX -M4 KERNEL[J]. Computer Applications and Software, 2025, 42(1): 213-216,302. DOI: 10.3969/j.issn.1000-386x.2025.01.030

ANALYSIS OF RT-THREAD CONTEXT SWITCH MECHANNISM BASED ON CORTEX -M4 KERNEL

  • RT-Thread is a domestic embedded real time operating system with open source. Based on Cortex-M4 kernel, the process of RT-Thread context switch through the PendSV interrupt was analyzed, and the implementation mechanism of context switch was deeply studied from the assembly instructions, which provided a reference for further understanding the implementation of kernel scheduling mechanism, and the technical basis for the application and promotion of RT-Thread.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return