摘要
介绍了源代码公开的实时操作系统μCOSⅡ在ARM处理器STM32F103VBT6上的移植过程。首先简要介绍了ARM核Cortex-M3的一些基本概念,然后结合其基本概念用C语言和汇编语言修改了移植过程中需要修改的所有源代码文件且给出了其详细解释。最后给出了一个基于μCOSII嵌入式操作系统的简单应用,讨论了基于嵌入式操作系统的应用程序开发方法与传统应用程序开发方法的区别,说明前者方法的优越性并验证了移植的成功。
This paper introduces the process of grafting an open source real time operating system μCOSⅡ on the ARM processor STM32F103VBT6. Several basic concepts of the Cortex-M3 are briefly introduced, on the basis of which all of the source code files necessary to modify are modified by use of the C language or assembly language with detailed explanations given. A simple example of the application based on μCOSⅡ is also given. The differences between the method of developing applications based on an embedded operating system and the traditional method are discussed with the former shown to be a better method. The grafting process is proved to be successful.
出处
《电子科技》
2009年第1期69-74,共6页
Electronic Science and Technology
基金
国家自然科学基金资助项目(60072038)