第一次用usmartX RTOS,两个实验(LED闪烁,歌曲菊花台)
第一次用usmartX RTOS,两个实验(LED闪烁,歌曲菊花台)(WinAVR2007+ATmega16,内部RC 8Mhz)
usmartX RTOS占用sram少。
可移植性非常好。与平台相关的只有三个函数,关中断INT_Disable,
开中断INT_Enable和恢复中断INT_Restore,全部移植代码不超多20行。
两个实验,
一个LED实验,每1S闪烁一次。PORD7接LED.
一个菊花台歌曲实验,PORD7接轰鸣器.
点击此处下载armok01166538.rar
点击此处下载armok01166539.rar 好,但請樓主將usmartX RTOS的源代碼貼出來,讓大家試試 ... http://usmartx.sourceforge.net/
What is uSmartX ?
uSmartX is a non-preemptive, multitasking, priority based RTOS. It features necessary mechanisms for inter-task communication and basic task and time control functions. uSmartX is targeted for small foot-print embedded designs. Being a non-preemptive kernel it consumes little memory and it is very simple to use. It is already being used in many designs, proving that a huge, full-preeemptive kernel is not always the best solution. 记号一下,,, mark一下。
页:
[1]