实例介绍
Micrium官网上的uCOS-II的例程源代码,做好了在STM32F107上的移植
【实例截图】
【核心代码】
Micrium_uC-Eval-STM32F107_uCOS-II
└── Micrium
└── Software
├── EvalBoards
│ └── Micrium
│ └── uC-Eval-STM32F107
│ ├── BSP
│ │ ├── bsp.c
│ │ ├── bsp.h
│ │ ├── bsp_i2c.c
│ │ ├── bsp_i2c.h
│ │ ├── bsp_int.c
│ │ ├── bsp_periph.c
│ │ ├── bsp_ser.c
│ │ ├── bsp_ser.h
│ │ ├── bsp_stlm75.c
│ │ ├── bsp_stlm75.h
│ │ ├── IAR
│ │ │ ├── cstartup.c
│ │ │ └── STM32_FLASH.icf
│ │ ├── KeilMDK
│ │ │ └── cstartup.s
│ │ ├── OS
│ │ │ └── uCOS-II
│ │ │ ├── bsp_os.c
│ │ │ └── bsp_os.h
│ │ ├── ST
│ │ │ └── STM32
│ │ │ ├── inc
│ │ │ │ ├── cortexm3_macro.h
│ │ │ │ ├── stm32f10x_adc.h
│ │ │ │ ├── stm32f10x_bkp.h
│ │ │ │ ├── stm32f10x_can.h
│ │ │ │ ├── stm32f10x_crc.h
│ │ │ │ ├── stm32f10x_dac.h
│ │ │ │ ├── stm32f10x_dbgmcu.h
│ │ │ │ ├── stm32f10x_dma.h
│ │ │ │ ├── stm32f10x_exti.h
│ │ │ │ ├── stm32f10x_flash.h
│ │ │ │ ├── stm32f10x_fsmc.h
│ │ │ │ ├── stm32f10x_gpio.h
│ │ │ │ ├── stm32f10x_i2c.h
│ │ │ │ ├── stm32f10x_iwdg.h
│ │ │ │ ├── stm32f10x_lib.h
│ │ │ │ ├── stm32f10x_map.h
│ │ │ │ ├── stm32f10x_nvic.h
│ │ │ │ ├── stm32f10x_pwr.h
│ │ │ │ ├── stm32f10x_rcc.h
│ │ │ │ ├── stm32f10x_rtc.h
│ │ │ │ ├── stm32f10x_sdio.h
│ │ │ │ ├── stm32f10x_spi.h
│ │ │ │ ├── stm32f10x_systick.h
│ │ │ │ ├── stm32f10x_tim.h
│ │ │ │ ├── stm32f10x_type.h
│ │ │ │ ├── stm32f10x_usart.h
│ │ │ │ └── stm32f10x_wwdg.h
│ │ │ └── src
│ │ │ ├── stm32f10x_adc.c
│ │ │ ├── stm32f10x_bkp.c
│ │ │ ├── stm32f10x_can.c
│ │ │ ├── stm32f10x_crc.c
│ │ │ ├── stm32f10x_dac.c
│ │ │ ├── stm32f10x_dbgmcu.c
│ │ │ ├── stm32f10x_dma.c
│ │ │ ├── stm32f10x_exti.c
│ │ │ ├── stm32f10x_flash.c
│ │ │ ├── stm32f10x_fsmc.c
│ │ │ ├── stm32f10x_gpio.c
│ │ │ ├── stm32f10x_i2c.c
│ │ │ ├── stm32f10x_iwdg.c
│ │ │ ├── stm32f10x_lib.c
│ │ │ ├── stm32f10x_nvic.c
│ │ │ ├── stm32f10x_pwr.c
│ │ │ ├── stm32f10x_rcc.c
│ │ │ ├── stm32f10x_rtc.c
│ │ │ ├── stm32f10x_sdio.c
│ │ │ ├── stm32f10x_spi.c
│ │ │ ├── stm32f10x_systick.c
│ │ │ ├── stm32f10x_tim.c
│ │ │ ├── stm32f10x_usart.c
│ │ │ └── stm32f10x_wwdg.c
│ │ └── TrueSTUDIO
│ │ └── cstartup.s
│ └── uCOS-II
│ ├── app.c
│ ├── app_cfg.h
│ ├── app_hooks.c
│ ├── cpu_cfg.h
│ ├── IAR
│ │ ├── Flash
│ │ │ ├── Exe
│ │ │ │ └── OS.out
│ │ │ ├── List
│ │ │ │ ├── app_hooks.lst
│ │ │ │ ├── app.lst
│ │ │ │ ├── bsp_i2c.lst
│ │ │ │ ├── bsp_int.lst
│ │ │ │ ├── bsp.lst
│ │ │ │ ├── bsp_os.lst
│ │ │ │ ├── bsp_periph.lst
│ │ │ │ ├── bsp_ser.lst
│ │ │ │ ├── bsp_stlm75.lst
│ │ │ │ ├── cpu_c.lst
│ │ │ │ ├── cpu_core.lst
│ │ │ │ ├── cstartup.lst
│ │ │ │ ├── lib_ascii.lst
│ │ │ │ ├── lib_math.lst
│ │ │ │ ├── lib_mem.lst
│ │ │ │ ├── lib_str.lst
│ │ │ │ ├── os_core.lst
│ │ │ │ ├── os_cpu_c.lst
│ │ │ │ ├── os_dbg.lst
│ │ │ │ ├── os_flag.lst
│ │ │ │ ├── OS.map
│ │ │ │ ├── os_mbox.lst
│ │ │ │ ├── os_mem.lst
│ │ │ │ ├── os_mutex.lst
│ │ │ │ ├── os_q.lst
│ │ │ │ ├── os_sem.lst
│ │ │ │ ├── os_task.lst
│ │ │ │ ├── os_time.lst
│ │ │ │ ├── os_tmr.lst
│ │ │ │ ├── stm32f10x_adc.lst
│ │ │ │ ├── stm32f10x_bkp.lst
│ │ │ │ ├── stm32f10x_can.lst
│ │ │ │ ├── stm32f10x_crc.lst
│ │ │ │ ├── stm32f10x_dac.lst
│ │ │ │ ├── stm32f10x_dbgmcu.lst
│ │ │ │ ├── stm32f10x_dma.lst
│ │ │ │ ├── stm32f10x_exti.lst
│ │ │ │ ├── stm32f10x_flash.lst
│ │ │ │ ├── stm32f10x_fsmc.lst
│ │ │ │ ├── stm32f10x_gpio.lst
│ │ │ │ ├── stm32f10x_i2c.lst
│ │ │ │ ├── stm32f10x_iwdg.lst
│ │ │ │ ├── stm32f10x_lib.lst
│ │ │ │ ├── stm32f10x_nvic.lst
│ │ │ │ ├── stm32f10x_pwr.lst
│ │ │ │ ├── stm32f10x_rcc.lst
│ │ │ │ ├── stm32f10x_rtc.lst
│ │ │ │ ├── stm32f10x_sdio.lst
│ │ │ │ ├── stm32f10x_spi.lst
│ │ │ │ ├── stm32f10x_systick.lst
│ │ │ │ ├── stm32f10x_tim.lst
│ │ │ │ ├── stm32f10x_usart.lst
│ │ │ │ └── stm32f10x_wwdg.lst
│ │ │ └── Obj
│ │ │ ├── app_hooks.o
│ │ │ ├── app_hooks.pbi
│ │ │ ├── app_hooks.pbi.cout
│ │ │ ├── app.o
│ │ │ ├── app.pbi
│ │ │ ├── app.pbi.cout
│ │ │ ├── bsp_i2c.o
│ │ │ ├── bsp_i2c.pbi
│ │ │ ├── bsp_i2c.pbi.cout
│ │ │ ├── bsp_int.o
│ │ │ ├── bsp_int.pbi
│ │ │ ├── bsp_int.pbi.cout
│ │ │ ├── bsp.o
│ │ │ ├── bsp_os.o
│ │ │ ├── bsp_os.pbi
│ │ │ ├── bsp_os.pbi.cout
│ │ │ ├── bsp.pbi
│ │ │ ├── bsp.pbi.cout
│ │ │ ├── bsp_periph.o
│ │ │ ├── bsp_periph.pbi
│ │ │ ├── bsp_periph.pbi.cout
│ │ │ ├── bsp_ser.o
│ │ │ ├── bsp_ser.pbi
│ │ │ ├── bsp_ser.pbi.cout
│ │ │ ├── bsp_stlm75.o
│ │ │ ├── bsp_stlm75.pbi
│ │ │ ├── bsp_stlm75.pbi.cout
│ │ │ ├── cpu_a.o
│ │ │ ├── cpu_c.o
│ │ │ ├── cpu_core.o
│ │ │ ├── cpu_core.pbi
│ │ │ ├── cpu_core.pbi.cout
│ │ │ ├── cpu_c.pbi
│ │ │ ├── cpu_c.pbi.cout
│ │ │ ├── cstartup.o
│ │ │ ├── cstartup.pbi
│ │ │ ├── cstartup.pbi.cout
│ │ │ ├── lib_ascii.o
│ │ │ ├── lib_ascii.pbi
│ │ │ ├── lib_ascii.pbi.cout
│ │ │ ├── lib_math.o
│ │ │ ├── lib_math.pbi
│ │ │ ├── lib_math.pbi.cout
│ │ │ ├── lib_mem_a.o
│ │ │ ├── lib_mem.o
│ │ │ ├── lib_mem.pbi
│ │ │ ├── lib_mem.pbi.cout
│ │ │ ├── lib_str.o
│ │ │ ├── lib_str.pbi
│ │ │ ├── lib_str.pbi.cout
│ │ │ ├── os_core.o
│ │ │ ├── os_core.pbi
│ │ │ ├── os_core.pbi.cout
│ │ │ ├── os_cpu_a.o
│ │ │ ├── os_cpu_c.o
│ │ │ ├── os_cpu_c.pbi
│ │ │ ├── os_cpu_c.pbi.cout
│ │ │ ├── os_dbg.o
│ │ │ ├── os_dbg.pbi
│ │ │ ├── os_dbg.pbi.cout
│ │ │ ├── os_flag.o
│ │ │ ├── os_flag.pbi
│ │ │ ├── os_flag.pbi.cout
│ │ │ ├── os_mbox.o
│ │ │ ├── os_mbox.pbi
│ │ │ ├── os_mbox.pbi.cout
│ │ │ ├── os_mem.o
│ │ │ ├── os_mem.pbi
│ │ │ ├── os_mem.pbi.cout
│ │ │ ├── os_mutex.o
│ │ │ ├── os_mutex.pbi
│ │ │ ├── os_mutex.pbi.cout
│ │ │ ├── os_q.o
│ │ │ ├── os_q.pbi
│ │ │ ├── os_q.pbi.cout
│ │ │ ├── os_sem.o
│ │ │ ├── os_sem.pbi
│ │ │ ├── os_sem.pbi.cout
│ │ │ ├── os_task.o
│ │ │ ├── os_task.pbi
│ │ │ ├── os_task.pbi.cout
│ │ │ ├── os_time.o
│ │ │ ├── os_time.pbi
│ │ │ ├── os_time.pbi.cout
│ │ │ ├── os_tmr.o
│ │ │ ├── os_tmr.pbi
│ │ │ ├── os_tmr.pbi.cout
│ │ │ ├── stm32f10x_adc.o
│ │ │ ├── stm32f10x_adc.pbi
│ │ │ ├── stm32f10x_adc.pbi.cout
│ │ │ ├── stm32f10x_bkp.o
│ │ │ ├── stm32f10x_bkp.pbi
│ │ │ ├── stm32f10x_bkp.pbi.cout
│ │ │ ├── stm32f10x_can.o
│ │ │ ├── stm32f10x_can.pbi
│ │ │ ├── stm32f10x_can.pbi.cout
│ │ │ ├── stm32f10x_crc.o
│ │ │ ├── stm32f10x_crc.pbi
│ │ │ ├── stm32f10x_crc.pbi.cout
│ │ │ ├── stm32f10x_dac.o
│ │ │ ├── stm32f10x_dac.pbi
│ │ │ ├── stm32f10x_dac.pbi.cout
│ │ │ ├── stm32f10x_dbgmcu.o
│ │ │ ├── stm32f10x_dbgmcu.pbi
│ │ │ ├── stm32f10x_dbgmcu.pbi.cout
│ │ │ ├── stm32f10x_dma.o
│ │ │ ├── stm32f10x_dma.pbi
│ │ │ ├── stm32f10x_dma.pbi.cout
│ │ │ ├── stm32f10x_exti.o
│ │ │ ├── stm32f10x_exti.pbi
│ │ │ ├── stm32f10x_exti.pbi.cout
│ │ │ ├── stm32f10x_flash.o
│ │ │ ├── stm32f10x_flash.pbi
│ │ │ ├── stm32f10x_flash.pbi.cout
│ │ │ ├── stm32f10x_fsmc.o
│ │ │ ├── stm32f10x_fsmc.pbi
│ │ │ ├── stm32f10x_fsmc.pbi.cout
│ │ │ ├── stm32f10x_gpio.o
│ │ │ ├── stm32f10x_gpio.pbi
│ │ │ ├── stm32f10x_gpio.pbi.cout
│ │ │ ├── stm32f10x_i2c.o
│ │ │ ├── stm32f10x_i2c.pbi
│ │ │ ├── stm32f10x_i2c.pbi.cout
│ │ │ ├── stm32f10x_iwdg.o
│ │ │ ├── stm32f10x_iwdg.pbi
│ │ │ ├── stm32f10x_iwdg.pbi.cout
│ │ │ ├── stm32f10x_lib.o
│ │ │ ├── stm32f10x_lib.pbi
│ │ │ ├── stm32f10x_lib.pbi.cout
│ │ │ ├── stm32f10x_nvic.o
│ │ │ ├── stm32f10x_nvic.pbi
│ │ │ ├── stm32f10x_nvic.pbi.cout
│ │ │ ├── stm32f10x_pwr.o
│ │ │ ├── stm32f10x_pwr.pbi
│ │ │ ├── stm32f10x_pwr.pbi.cout
│ │ │ ├── stm32f10x_rcc.o
│ │ │ ├── stm32f10x_rcc.pbi
│ │ │ ├── stm32f10x_rcc.pbi.cout
│ │ │ ├── stm32f10x_rtc.o
│ │ │ ├── stm32f10x_rtc.pbi
│ │ │ ├── stm32f10x_rtc.pbi.cout
│ │ │ ├── stm32f10x_sdio.o
│ │ │ ├── stm32f10x_sdio.pbi
│ │ │ ├── stm32f10x_sdio.pbi.cout
│ │ │ ├── stm32f10x_spi.o
│ │ │ ├── stm32f10x_spi.pbi
│ │ │ ├── stm32f10x_spi.pbi.cout
│ │ │ ├── stm32f10x_systick.o
│ │ │ ├── stm32f10x_systick.pbi
│ │ │ ├── stm32f10x_systick.pbi.cout
│ │ │ ├── stm32f10x_tim.o
│ │ │ ├── stm32f10x_tim.pbi
│ │ │ ├── stm32f10x_tim.pbi.cout
│ │ │ ├── stm32f10x_usart.o
│ │ │ ├── stm32f10x_usart.pbi
│ │ │ ├── stm32f10x_usart.pbi.cout
│ │ │ ├── stm32f10x_wwdg.o
│ │ │ ├── stm32f10x_wwdg.pbi
│ │ │ ├── stm32f10x_wwdg.pbi.cout
│ │ │ ├── uCOS-II.pbd
│ │ │ └── uCOS-II.pbd.browse
│ │ ├── settings
│ │ │ ├── uCOS-II.cspy.bat
│ │ │ └── uCOS-II.wsdt
│ │ ├── uCOS-II.dep
│ │ ├── uCOS-II.ewd
│ │ ├── uCOS-II.ewp
│ │ └── uCOS-II.eww
│ ├── includes.h
│ ├── KeilMDK
│ │ ├── Output
│ │ │ ├── OS.plg
│ │ │ ├── OS.sct
│ │ │ └── OS.tra
│ │ ├── uCOS-II.uvopt
│ │ └── uCOS-II.uvproj
│ ├── lib_cfg.h
│ ├── os_cfg.h
│ ├── STM32F107 OS README.pdf
│ ├── stm32f10x_conf.h
│ └── TrueSTUDIO
│ ├── Debug
│ │ ├── BSP
│ │ │ └── uCOS-II
│ │ │ └── bsp_os.o
│ │ └── uCOS-II.map
│ ├── STM32F107VC_FLASH.ld
│ ├── stm32_flash.ld
│ └── uCOS-II.elf.launch
├── uC-CPU
│ ├── ARM-Cortex-M3
│ │ ├── GNU
│ │ │ ├── cpu_a.s
│ │ │ ├── cpu_c.c
│ │ │ └── cpu.h
│ │ ├── IAR
│ │ │ ├── cpu_a.asm
│ │ │ ├── cpu_c.c
│ │ │ └── cpu.h
│ │ └── RealView
│ │ ├── cpu_a.asm
│ │ ├── cpu_c.c
│ │ └── cpu.h
│ ├── cpu_core.c
│ ├── cpu_core.h
│ └── cpu_def.h
├── uC-LIB
│ ├── lib_ascii.c
│ ├── lib_ascii.h
│ ├── lib_def.h
│ ├── lib_math.c
│ ├── lib_math.h
│ ├── lib_mem.c
│ ├── lib_mem.h
│ ├── lib_str.c
│ ├── lib_str.h
│ └── Ports
│ └── ARM-Cortex-M3
│ ├── GNU
│ │ └── lib_mem_a.s
│ ├── IAR
│ │ └── lib_mem_a.asm
│ └── RealView
│ └── lib_mem_a.asm
└── uCOS-II
├── Ports
│ └── ARM-Cortex-M3
│ └── Generic
│ ├── GNU
│ │ ├── os_cpu_a.asm
│ │ ├── os_cpu_c.c
│ │ ├── os_cpu.h
│ │ └── os_dbg.c
│ ├── IAR
│ │ ├── os_cpu_a.asm
│ │ ├── os_cpu_c.c
│ │ ├── os_cpu.h
│ │ └── os_dbg.c
│ └── RealView
│ ├── os_cpu_a.asm
│ ├── os_cpu_c.c
│ ├── os_cpu.h
│ └── os_dbg.c
└── Source
├── os_core.c
├── os_flag.c
├── os_mbox.c
├── os_mem.c
├── os_mutex.c
├── os_q.c
├── os_sem.c
├── os_task.c
├── os_time.c
├── os_tmr.c
└── ucos_ii.h
47 directories, 354 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论