实例介绍
创建了两个任务,在主任务中创建子任务,可以看到两个LED灯闪,可以继续添加任务。
【实例截图】
【核心代码】
ucos3_diy
└── ucos3_diy
├── app_cfg.c
├── bsp.c
├── bsp.h
├── DebugConfig
│ ├── Target_1_STM32F103VE_1.0.0.dbgconf
│ └── Target_1_STM32F103VE.dbgconf
├── EventRecorderStub.scvd
├── Listings
│ ├── cpu_a.lst
│ ├── irq_cm3.lst
│ ├── os_cpu_a.lst
│ ├── sss.map
│ └── startup_stm32f10x_hd.lst
├── main.c
├── Objects
│ ├── app_cfg.d
│ ├── bsp.crf
│ ├── bsp.d
│ ├── bsp.o
│ ├── cmsis_os1.crf
│ ├── cmsis_os1.d
│ ├── cmsis_os1.o
│ ├── cmsis_rv.d
│ ├── cpu_a.d
│ ├── cpu_a.o
│ ├── cpu_c.crf
│ ├── cpu_c.d
│ ├── cpu_c.o
│ ├── cpu_core.crf
│ ├── cpu_core.d
│ ├── cpu_core.o
│ ├── ExtDll.iex
│ ├── irq_cm3.d
│ ├── irq_cm3.o
│ ├── lib_ascii.crf
│ ├── lib_ascii.d
│ ├── lib_ascii.o
│ ├── lib_math.crf
│ ├── lib_math.d
│ ├── lib_math.o
│ ├── lib_mem.crf
│ ├── lib_mem.d
│ ├── lib_mem.o
│ ├── lib_str.crf
│ ├── lib_str.d
│ ├── lib_str.o
│ ├── main.crf
│ ├── main.d
│ ├── main.o
│ ├── misc.crf
│ ├── misc.d
│ ├── misc.o
│ ├── os_cfg_app.crf
│ ├── os_cfg_app.d
│ ├── os_cfg_app.o
│ ├── os_core.crf
│ ├── os_core.d
│ ├── os_core.o
│ ├── os_cpu_a.d
│ ├── os_cpu_a.o
│ ├── os_cpu_c.crf
│ ├── os_cpu_c.d
│ ├── os_cpu_c.o
│ ├── os_dbg.crf
│ ├── os_dbg.d
│ ├── os_dbg.o
│ ├── os_flag.crf
│ ├── os_flag.d
│ ├── os_flag.o
│ ├── os_int.crf
│ ├── os_int.d
│ ├── os_int.o
│ ├── os_mem.crf
│ ├── os_mem.d
│ ├── os_mem.o
│ ├── os_msg.crf
│ ├── os_msg.d
│ ├── os_msg.o
│ ├── os_mutex.crf
│ ├── os_mutex.d
│ ├── os_mutex.o
│ ├── os_pend_multi.crf
│ ├── os_pend_multi.d
│ ├── os_pend_multi.o
│ ├── os_prio.crf
│ ├── os_prio.d
│ ├── os_prio.o
│ ├── os_q.crf
│ ├── os_q.d
│ ├── os_q.o
│ ├── os_sem.crf
│ ├── os_sem.d
│ ├── os_sem.o
│ ├── os_stat.crf
│ ├── os_stat.d
│ ├── os_stat.o
│ ├── os_task.crf
│ ├── os_task.d
│ ├── os_task.o
│ ├── os_tick.crf
│ ├── os_tick.d
│ ├── os_tick.o
│ ├── os_time.crf
│ ├── os_time.d
│ ├── os_time.o
│ ├── os_tmr.crf
│ ├── os_tmr.d
│ ├── os_tmr.o
│ ├── os_var.crf
│ ├── os_var.d
│ ├── os_var.o
│ ├── rtx_config.crf
│ ├── rtx_config.d
│ ├── rtx_config.o
│ ├── rtx_delay.crf
│ ├── rtx_delay.d
│ ├── rtx_delay.o
│ ├── rtx_evflags.crf
│ ├── rtx_evflags.d
│ ├── rtx_evflags.o
│ ├── rtx_kernel.crf
│ ├── rtx_kernel.d
│ ├── rtx_memory.crf
│ ├── rtx_memory.d
│ ├── rtx_memory.o
│ ├── rtx_mempool.crf
│ ├── rtx_mempool.d
│ ├── rtx_mempool.o
│ ├── rtx_msgqueue.crf
│ ├── rtx_msgqueue.d
│ ├── rtx_msgqueue.o
│ ├── rtx_mutex.crf
│ ├── rtx_mutex.d
│ ├── rtx_mutex.o
│ ├── rtx_semaphore.crf
│ ├── rtx_semaphore.d
│ ├── rtx_semaphore.o
│ ├── rtx_system.crf
│ ├── rtx_system.d
│ ├── rtx_system.o
│ ├── rtx_thread.crf
│ ├── rtx_thread.d
│ ├── rtx_thread.o
│ ├── rtx_timer.crf
│ ├── rtx_timer.d
│ ├── rtx_timer.o
│ ├── rv_framework.d
│ ├── rv_msgqueue.d
│ ├── rv_report.d
│ ├── rv_waitfunc.d
│ ├── sss.axf
│ ├── sss.build_log.htm
│ ├── sss.htm
│ ├── sss.lnp
│ ├── sss.sct
│ ├── sss_Target 1.dep
│ ├── startup_stm32f10x_hd.d
│ ├── startup_stm32f10x_hd.o
│ ├── stm32f10x_crc.crf
│ ├── stm32f10x_crc.d
│ ├── stm32f10x_crc.o
│ ├── stm32f10x_gpio.crf
│ ├── stm32f10x_gpio.d
│ ├── stm32f10x_gpio.o
│ ├── stm32f10x_rcc.crf
│ ├── stm32f10x_rcc.d
│ ├── stm32f10x_rcc.o
│ ├── stm32f10x_usart.crf
│ ├── stm32f10x_usart.d
│ ├── stm32f10x_usart.o
│ ├── system_stm32f10x.crf
│ ├── system_stm32f10x.d
│ └── system_stm32f10x.o
├── Packs_Target 1.htm
├── RTE
│ ├── CMSIS
│ │ └── RTX_Config.c
│ ├── CMSIS_RTOS_Validation
│ │ └── RV_Config.h
│ ├── Device
│ │ └── STM32F103VE
│ │ ├── RTE_Device.h
│ │ ├── startup_stm32f10x_hd.s
│ │ ├── stm32f10x_conf.h
│ │ └── system_stm32f10x.c
│ ├── RTOS
│ │ ├── app_cfg.h
│ │ ├── cpu_cfg.h
│ │ ├── lib_cfg.h
│ │ ├── os_cfg_app.h
│ │ └── os_cfg.h
│ └── _Target_1
│ └── RTE_Components.h
├── sss.uvguix.liyan
├── sss.uvoptx
├── sss.uvprojx
└── sys.h
11 directories, 187 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论