开始学习RTX51 Tiny

作者计划利用暑假时间,在AT89S52单片机上移植实时多任务操作系统RTX51Tiny,并分享学习心得。同时考虑对之前制作的智能风扇项目进行系统升级。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

      今天顺利离开学校回到家里,拖着疲倦的身体思考着如何度过这个暑假,我需要有一个确切可行的计划,我觉得现在还是把以前学的东西整理一下。打开行李箱发现很多很多可怜的AT89S52芯片,因为学了更强大的AVR,51受到了冷落,想想还是救救这些可怜的芯片吧。该怎么拯救呢?我得找个没弄过的东东,最近对操作系统比较感兴趣,那就不如在51上移植一个实时多任务操作系统。之前我知道有RXT51这个东西,只是对他没怎么留意,后来就忘了,今天就开始学习学习一下吧。

        我找到Keil的帮助文件,因为RXT51是keil公司出的,帮助文件应该有介绍。结果确实如此而且非常的详细,还有一些工程例子,学习很方便,还是E文的。先看一段介绍:

       

      RTX51 Tiny is a real-time operating system (RTOS) which allows you to create applications that simultaneously perform multiple functions or tasks. This is often required in an embedded application. While it is certainly possible to create real-time programs without an RTOS (by executing one or more functions or tasks in a loop), there are numerous scheduling, maintenance, and timing issues that an RTOS like RTX51 Tiny can solve for you.

A real-time operating system (RTOS) allows flexible scheduling of system resources, like the CPU and memory, and offers communication between tasks. RTX51 Tiny is a powerful RTOS that is easy to use and that works with all 8051 derivatives.

      RTX51 Tiny programs are written using standard C constructs and compiled with the Keil C51 C Compiler. Additions to the C language allow you to easily declare task functions without the need for complex stack and variable frame configuration. RTX51 Tiny programs require only that you include a special header file and link the RTX51 Tiny library into your program.

 

 

        以后我会把学习的一些心得写下来,还有就是以前改造的智能风扇用这个系统升级一下,据老妈反映原来的版本运行不了了,看了一下估计是红外部分出了问题。我可能再弄一个用AVR升级。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值