实例介绍
在STM32cubemx生成的工程基础上移植的UCOSIII,参考正点原子教程(资料内附带)。
【实例截图】
【核心代码】
LED1
└── LED2 - 副本
├── LED
│ ├── Drivers
│ │ ├── CMSIS
│ │ │ ├── Device
│ │ │ │ └── ST
│ │ │ │ └── STM32F1xx
│ │ │ │ └── Include
│ │ │ │ ├── stm32f103xe.h
│ │ │ │ ├── stm32f1xx.h
│ │ │ │ └── system_stm32f1xx.h
│ │ │ └── Include
│ │ │ ├── arm_common_tables.h
│ │ │ ├── arm_const_structs.h
│ │ │ ├── arm_math.h
│ │ │ ├── cmsis_armcc.h
│ │ │ ├── cmsis_armcc_V6.h
│ │ │ ├── cmsis_gcc.h
│ │ │ ├── core_cm0.h
│ │ │ ├── core_cm0plus.h
│ │ │ ├── core_cm3.h
│ │ │ ├── core_cm4.h
│ │ │ ├── core_cm7.h
│ │ │ ├── core_cmFunc.h
│ │ │ ├── core_cmInstr.h
│ │ │ ├── core_cmSimd.h
│ │ │ ├── core_sc000.h
│ │ │ └── core_sc300.h
│ │ └── STM32F1xx_HAL_Driver
│ │ ├── Inc
│ │ │ ├── Legacy
│ │ │ │ └── stm32_hal_legacy.h
│ │ │ ├── stm32f1xx_hal_cortex.h
│ │ │ ├── stm32f1xx_hal_def.h
│ │ │ ├── stm32f1xx_hal_dma_ex.h
│ │ │ ├── stm32f1xx_hal_dma.h
│ │ │ ├── stm32f1xx_hal_flash_ex.h
│ │ │ ├── stm32f1xx_hal_flash.h
│ │ │ ├── stm32f1xx_hal_gpio_ex.h
│ │ │ ├── stm32f1xx_hal_gpio.h
│ │ │ ├── stm32f1xx_hal.h
│ │ │ ├── stm32f1xx_hal_pwr.h
│ │ │ ├── stm32f1xx_hal_rcc_ex.h
│ │ │ ├── stm32f1xx_hal_rcc.h
│ │ │ ├── stm32f1xx_hal_sram.h
│ │ │ ├── stm32f1xx_hal_tim_ex.h
│ │ │ ├── stm32f1xx_hal_tim.h
│ │ │ ├── stm32f1xx_hal_uart.h
│ │ │ └── stm32f1xx_ll_fsmc.h
│ │ └── Src
│ │ ├── stm32f1xx_hal.c
│ │ ├── stm32f1xx_hal_cortex.c
│ │ ├── stm32f1xx_hal_dma.c
│ │ ├── stm32f1xx_hal_flash.c
│ │ ├── stm32f1xx_hal_flash_ex.c
│ │ ├── stm32f1xx_hal_gpio.c
│ │ ├── stm32f1xx_hal_gpio_ex.c
│ │ ├── stm32f1xx_hal_pwr.c
│ │ ├── stm32f1xx_hal_rcc.c
│ │ ├── stm32f1xx_hal_rcc_ex.c
│ │ ├── stm32f1xx_hal_sram.c
│ │ ├── stm32f1xx_hal_tim.c
│ │ ├── stm32f1xx_hal_tim_ex.c
│ │ ├── stm32f1xx_hal_uart.c
│ │ └── stm32f1xx_ll_fsmc.c
│ ├── Inc
│ │ ├── ascii.h
│ │ ├── bsp_ili9341_lcd.h
│ │ ├── bsp_spi_flash.h
│ │ ├── bsp_touch.h
│ │ ├── fsmc.h
│ │ ├── gpio.h
│ │ ├── main.h
│ │ ├── stm32f1xx_hal_conf.h
│ │ ├── stm32f1xx_it.h
│ │ └── usart.h
│ ├── LED.ioc
│ ├── MDK-ARM
│ │ ├── cpu_a.lst
│ │ ├── DebugConfig
│ │ │ └── LED_STM32F103VE_1.0.0.dbgconf
│ │ ├── LED
│ │ │ ├── bsp.crf
│ │ │ ├── bsp.d
│ │ │ ├── bsp_ili9341_lcd.crf
│ │ │ ├── bsp_ili9341_lcd.d
│ │ │ ├── bsp_ili9341_lcd.o
│ │ │ ├── bsp.o
│ │ │ ├── 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
│ │ │ ├── fsmc.crf
│ │ │ ├── fsmc.d
│ │ │ ├── fsmc.o
│ │ │ ├── gpio.crf
│ │ │ ├── gpio.d
│ │ │ ├── gpio.o
│ │ │ ├── LED.axf
│ │ │ ├── LED.build_log.htm
│ │ │ ├── LED.hex
│ │ │ ├── LED.htm
│ │ │ ├── LED_LED.dep
│ │ │ ├── LED.lnp
│ │ │ ├── LED.map
│ │ │ ├── LED.sct
│ │ │ ├── lib_ascii.crf
│ │ │ ├── lib_ascii.d
│ │ │ ├── lib_ascii.o
│ │ │ ├── lib_math.crf
│ │ │ ├── lib_math.d
│ │ │ ├── lib_math.o
│ │ │ ├── lib_mem_a.d
│ │ │ ├── lib_mem_a.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
│ │ │ ├── os_app_hooks.crf
│ │ │ ├── os_app_hooks.d
│ │ │ ├── os_app_hooks.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
│ │ │ ├── startup_stm32f103xe.d
│ │ │ ├── startup_stm32f103xe.o
│ │ │ ├── stm32f1xx_hal_cortex.crf
│ │ │ ├── stm32f1xx_hal_cortex.d
│ │ │ ├── stm32f1xx_hal_cortex.o
│ │ │ ├── stm32f1xx_hal.crf
│ │ │ ├── stm32f1xx_hal.d
│ │ │ ├── stm32f1xx_hal_dma.crf
│ │ │ ├── stm32f1xx_hal_dma.d
│ │ │ ├── stm32f1xx_hal_dma.o
│ │ │ ├── stm32f1xx_hal_flash.crf
│ │ │ ├── stm32f1xx_hal_flash.d
│ │ │ ├── stm32f1xx_hal_flash_ex.crf
│ │ │ ├── stm32f1xx_hal_flash_ex.d
│ │ │ ├── stm32f1xx_hal_flash_ex.o
│ │ │ ├── stm32f1xx_hal_flash.o
│ │ │ ├── stm32f1xx_hal_gpio.crf
│ │ │ ├── stm32f1xx_hal_gpio.d
│ │ │ ├── stm32f1xx_hal_gpio_ex.crf
│ │ │ ├── stm32f1xx_hal_gpio_ex.d
│ │ │ ├── stm32f1xx_hal_gpio_ex.o
│ │ │ ├── stm32f1xx_hal_gpio.o
│ │ │ ├── stm32f1xx_hal_msp.crf
│ │ │ ├── stm32f1xx_hal_msp.d
│ │ │ ├── stm32f1xx_hal_msp.o
│ │ │ ├── stm32f1xx_hal.o
│ │ │ ├── stm32f1xx_hal_pwr.crf
│ │ │ ├── stm32f1xx_hal_pwr.d
│ │ │ ├── stm32f1xx_hal_pwr.o
│ │ │ ├── stm32f1xx_hal_rcc.crf
│ │ │ ├── stm32f1xx_hal_rcc.d
│ │ │ ├── stm32f1xx_hal_rcc_ex.crf
│ │ │ ├── stm32f1xx_hal_rcc_ex.d
│ │ │ ├── stm32f1xx_hal_rcc_ex.o
│ │ │ ├── stm32f1xx_hal_rcc.o
│ │ │ ├── stm32f1xx_hal_sram.crf
│ │ │ ├── stm32f1xx_hal_sram.d
│ │ │ ├── stm32f1xx_hal_sram.o
│ │ │ ├── stm32f1xx_hal_tim.crf
│ │ │ ├── stm32f1xx_hal_tim.d
│ │ │ ├── stm32f1xx_hal_tim_ex.crf
│ │ │ ├── stm32f1xx_hal_tim_ex.d
│ │ │ ├── stm32f1xx_hal_tim_ex.o
│ │ │ ├── stm32f1xx_hal_tim.o
│ │ │ ├── stm32f1xx_hal_uart.crf
│ │ │ ├── stm32f1xx_hal_uart.d
│ │ │ ├── stm32f1xx_hal_uart.o
│ │ │ ├── stm32f1xx_it.crf
│ │ │ ├── stm32f1xx_it.d
│ │ │ ├── stm32f1xx_it.o
│ │ │ ├── stm32f1xx_ll_fsmc.crf
│ │ │ ├── stm32f1xx_ll_fsmc.d
│ │ │ ├── stm32f1xx_ll_fsmc.o
│ │ │ ├── system_stm32f1xx.crf
│ │ │ ├── system_stm32f1xx.d
│ │ │ ├── system_stm32f1xx.o
│ │ │ ├── usart.crf
│ │ │ ├── usart.d
│ │ │ └── usart.o
│ │ ├── LED.uvguix.mcli
│ │ ├── LED.uvoptx
│ │ ├── LED.uvprojx
│ │ ├── lib_mem_a.lst
│ │ ├── os_cpu_a.lst
│ │ ├── RTE
│ │ │ └── RTE_Components.h
│ │ ├── startup_stm32f103xe.lst
│ │ └── startup_stm32f103xe.s
│ ├── Src
│ │ ├── bsp_ili9341_lcd.c
│ │ ├── fsmc.c
│ │ ├── gpio.c
│ │ ├── main.c
│ │ ├── stm32f1xx_hal_msp.c
│ │ ├── stm32f1xx_it.c
│ │ ├── system_stm32f1xx.c
│ │ └── usart.c
│ └── UCOSIII
│ ├── 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_BSP
│ │ ├── bsp.c
│ │ └── bsp.h
│ ├── uCOS_CONFIG
│ │ ├── app_cfg.h
│ │ ├── cpu_cfg.h
│ │ ├── includes.h
│ │ ├── lib_cfg.h
│ │ ├── os_app_hooks.c
│ │ ├── os_app_hooks.h
│ │ ├── os_cfg_app.h
│ │ └── os_cfg.h
│ └── uCOS-III
│ ├── Ports
│ │ └── ARM-Cortex-M3
│ │ └── Generic
│ │ ├── GNU
│ │ │ ├── os_cpu_a.s
│ │ │ ├── os_cpu_c.c
│ │ │ └── os_cpu.h
│ │ ├── IAR
│ │ │ ├── os_cpu_a.asm
│ │ │ ├── os_cpu_c.c
│ │ │ └── os_cpu.h
│ │ └── RealView
│ │ ├── os_cpu_a.s
│ │ ├── os_cpu_c.c
│ │ └── os_cpu.h
│ └── Source
│ ├── os_cfg_app.c
│ ├── os_core.c
│ ├── os_dbg.c
│ ├── os_flag.c
│ ├── os.h
│ ├── os_int.c
│ ├── os_mem.c
│ ├── os_msg.c
│ ├── os_mutex.c
│ ├── os_pend_multi.c
│ ├── os_prio.c
│ ├── os_q.c
│ ├── os_sem.c
│ ├── os_stat.c
│ ├── os_task.c
│ ├── os_tick.c
│ ├── os_time.c
│ ├── os_tmr.c
│ ├── os_type.h
│ └── os_var.c
├── ReadMe.txt
└── STM32F1 UCOS开发手册_V2.0.pdf
41 directories, 313 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论