搜索
bottom↓
回复: 4

FreeRTOS to 8051

[复制链接]

出0入0汤圆

发表于 2014-4-27 22:23:02 | 显示全部楼层 |阅读模式
http://gdansk.bradley.edu/olekma ... es/index_rtos1.html
不知道是否能转给 keil c51  使用?

Basic setup of FreeRTOS and Inter-process Communication

FreeRTOS is (C) by Richard Barry.  Visit http://www.freertos.org/ for details.

The provided examples are based on FreeRTOS V5.0.4 port for Cygnal that has been altered to run with SDCC 2.8.0 through 3.2.0 on SiLabs 80C51F120 board. An effort was made to remove all code related to FreeRTOS ports to other systems and compilers. You can compile it using make utility or SiLabs IDE. Remember to adjust the SiLabs IDE configuration file to the file location on your hard drive.

The recent port of FreeRTOS V7.4.0 was successfully modified to run with SDCC 2.8.0. Later versions of the compiler cause malfunction of message queue library - data in queue becomes corrupt except one every so many data items SENT.

    R01 FreeRTOS simplified environment and original demo application
    large-stack-auto library that is needed to compile FreeRTOS programs:
        SDCC v. 3.20
        SDCC v. 3.10
        SDCC v. 3.00
        SDCC v. 2.80
    Download the ZIPped file and unpack the library to C:\Program Files\SDCC\lib\large-stack-auto\ or to the appropriate place depending on the location of your SDCC compiler.

Simple FreeRTOS Examples

The following examples are add-ons to the environment set up by the first example. Make sure to use rebuild command when switching between examples. Rebuild once, read the stack parameter from main.mem, adjust the corresponding constant in FreeRTOSconfig.h, and rebuild again. Silicon Labs IDE frequently does not recognize need to build modules when a header file used in such module is edited. Using Rebuild alleviates this problem.

    Source folder (to be unpacked in parallel with any of the following projects)
    R02 Passing information between two processes using a queue
    Priority exercises: inverse priorities of the tasks and remove sleep in reading task
    R03 Coordination of passing information among processes using a binary or mutex semaphore and shared variables
    R03 Synchronization of passing Passing information among processes using a binary semaphore and shared variables
    R04 Passing information between a process and an interrupt using a queue
    R05 Passing information between a process and an interrupt using a semaphore and shared variables
    R05 Partially incorrect Passing information between a process and an interrupt using a semaphore and shared variables
    R06 Passing information between a process and an interrupt using critical section and shared variables
    R10 Serial communication using buffers (with an interrupt handler)
    R11 Serial comm with timeout and a real time worker task to generate PWM Revisited later in device drivers lecture(s)
    R12 Control interrupt-generated PWM using push buttons (up and down)
    R30 Co-routines, all working in one stack space

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

发表于 2014-4-28 00:36:15 | 显示全部楼层
还不懂,但表示支持

出0入0汤圆

发表于 2014-4-28 01:04:04 | 显示全部楼层
不错的东西。正好合我胃口,收藏了。

出0入0汤圆

发表于 2014-4-28 21:01:41 | 显示全部楼层
这个,,,我看看。

出0入0汤圆

 楼主| 发表于 2014-4-28 22:02:13 | 显示全部楼层
点雨落山岚 发表于 2014-4-28 21:01
这个,,,我看看。

期待中...FreeRTOS 号称免费的 OS
SDCC 也是免费的 C51 Compiler
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-23 12:28

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表