摘要
简要介绍μC/OS-Ⅱ的组成和工作原理,详细分析移植的环境和条件,明确指出移植中的关键问题,即堆栈的建立、释放和恢复问题。以51单片机系统为例,提出了相应的解决办法,并对编制的程序代码进行了说明。通过在8031单片机系统中建立工作堆栈、仿真堆栈、任务堆栈及其附加段,修改μC/OS-Ⅱ中与移植有关的程序文件,实现了μC/OS-Ⅱ在单片机系统中的移植。相关实验测试进一步证实了本移植思想。文章深入讨论部分为嵌入式操作系统μC/OS-Ⅱ的复杂应用提供了指导。
This paper introduces μC/OS-Ⅱ and how to port it to Intel 51-serie single-chip system by means of establishing working stack,simulation stack,task stack and its additional part in the single chip system. Analysis and interpretation offered in detail for the relative programmed code as well as this porting method. Further discussions at the end of this paper refers to complicated applications.
出处
《太原理工大学学报》
CAS
北大核心
2006年第1期100-103,共4页
Journal of Taiyuan University of Technology