摘要
μCOS-Ⅲ是一款基于优先级调度的抢占式实时内核,其具有数量不受限制的任务和优先级,平等优先级的轮转任务调度等特性。本文简单介绍μcos-Ⅲ工作原理和STM32处理器内核的基本特征及μcos-Ⅲ在STM32F107上的移植过程,移植代码中使用处理器自带的标准库文件,从而简化复杂的寄存器配置,降低实际应用开发的难度。通过建立几个简单任务,验证移植的正确性与系统运行的稳定性,对于今后的应用开发具有实际意义。
μ COS-III is a preemptive real-time kernel based on priority scheduling. Its features include unlimited numbers of tasks and priorities, and equal priority rotation task scheduling, etc. This paper simply introduces the μ cos-III working principle and the basic characteristics of STM32 processor cores and the process of migratng μcos- III to the STM32F107. In the transplanting code, processor standard library files are used, so as to simplify the complicated register configuration,and reduce the difficulty of application development. Through the establishment of a few simple tasks, it's to verify the correctness and the stability of the system, and it has practical significance for the future application development.
出处
《中国仪器仪表》
2014年第3期37-42,共6页
China Instrumentation