描述了源代码公开的实时操作系统μC/OS-Ⅱ在以Cortex-M3内核的ARM处理器STM32-F103ZET6上的移植过程。介绍了ARM的Cortex-M3内核的基本概念,及移植过程,并对移植过程中的任务堆栈做出优化,最后通过建立简单任务,来验证移植的正确性以及系统在STM32F103ZET6上运行的可行性和稳定性。
This paper introduces the process of porting an open source real time operating system μC/OS-Ⅱ to the ARM processor STM32F103ZET6.Several basic concepts of the Cortex-M3 and how to optimize the stack of task are briefly introduced.By creating some simple tasks,the grafting process is proved to be successful and the system running on STM32F103ZET6 is proved to be feasible and stable.