KEILprintf重定向RTX.doc

  1. 1、本文档共11页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/arm/microlib.asp MicroLib ARM Library Optimized for Embedded Applications Improved in MDK-ARM v4.1x MicroLib is a highly-optimized library for ARM-based embedded applications written in C. When compared to the standard C library included with the ARM Compiler toolchain, MicroLib provides significant code size advantages required for many embedded systems. The primary differences between MicroLib and the standard C library are: MicroLib is designed for deeply embedded applications. MicroLib is optimized to use less code and data memory than using the ARM standard library. MicroLib has been designed to work without an operating system, however this does not prevent it being used together with any OS or RTOS such as Keil RTX. MicroLib contains no file I/O or wide character support. As MicroLib has been optimized to minimize code size, some functions will execute more slowly than the standard C library routines available in the ARM compilation tools. Both MicroLib and the ARM Standard Library are included in the Keil MDK-ARM. See?Differences from the default C library?for more detailed information To use MicroLib in your embedded application, select the MicroLib check box in μVision and compile your application. μVision links your program with MicroLib and reduces your program size quickly and easily. [转]KEIL RTX_Kernel使用小结?2012-01-11 01:07:36 分类:?嵌入式 前言:本人使用的是STM32F103VC开发板,标准的8MHz晶振,72MHz主频运行。 ? ??用M3处理器的话,不用实时操作系统显得太没效率了。正好也看到Micrium官方把uC/OS-III的源代码放出来了。于是从官网下了一个针对STM32F版本的uC/OS-III,修改了下里面的任务函数,改成点亮发光二极管,编译下载后不执行。一看Micrium官方这个版本是针对STM32F107的,互联网型,标准晶振是25MHz,我想可能是频率设置不对,我也不想去探索如何解决。 ? ??我从Keil官网上下载最新的MDK423,看到里面关于RTX_Kernel的介绍。以前写51单片机程序的时候知道RTX这个东西,但从来没用过。这次打算用下RTX_Kernel试试,毕竟RTX_Kernel是商用免费的,uC/OS是商用收费的。另外是ARM Keil自家的东西,想必也不错。 正式开始我的RTX_Kernel使用例程: 1、我的Keil MDK版本是此时从官网下载的最新版本MDK423,之前的Keil注册机在这里可用。 2、在ST官方网站下载STM32F10x_StdPeriph_Lib_V3.5.0,用这里面的工程作为工程模板。 3、依据ST官方库的例子,建立一个GPIO/IOToggle?工程。修改里面的IO端口与你的板子匹配。编译运行成功。 4、开始使用RTX_Kernel。在main.c中加入 #inlude?rtl.h 项目选项里,在Targ

文档评论(0)

ktj823 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档