[ucos]了解ucos
1. uCosIII移植到STM32F10x
http://www.cnblogs.com/hiker-blogs/archive/2012/06/13/2547176.html
2. uCosIII+uCGUI+STM32
http://www.cnblogs.com/hiker-blogs/archive/2012/09/09/2677897.html
3. uCosII到CortexM3的移植
http://blog.csdn.net/liyuanbhu/article/details/9082767
4. uCosIII移植到stm32
http://wenku.baidu.com/view/a90468020b1c59eef8c7b48e.html
- uC-CPU: cpu.h, cpu_a.asm, cpu_c.c, cpu_core.c, cpu_def.h 从uCosIII的类似cpu或者template中获取
- uC-LIB: lib_ascii.c, lib_ascii.h, lib_def.h, lib_math.c, lib_math.h, lib_mem.c, lib_mem.h, lib_mem_a.asm, lib_str.c, lib_str.h 从uCosIII中获取
- UCOS-III
- Ports: os_cpu.h, os_cpu_a.s, os_cpu_c.c 从uCosIII中获取
- Source: ucosii stack文件
5. 推荐野火工作室的uCosII的移植文档
问题:
1. uCos如何管理CPU中断的?因为os任务和cpu中断之间uCos必须要做好处理器调度问题,是通过pendsv吗?
就像threadx进入irq_restore和irq_resume一样,uCos会进行中断现场保存,并调用OSIntEnter来做中断嵌套的处理。