论坛下载: Micrium_STM32F767ZI-Nucleo_Blinky.zip
最新版的uCOS-III V3.07.00内核部分越来越向uCOS-II靠拢,之前臃肿的功能和不合理方案都已经放弃。
uCOS-III刚推出的时候,搞了不少功能,什么中断延迟提交,多事件等待,专门搞一个滴答定时器任务等新功能。
升级到当前的V3.07.00后,都被干掉了,不实用。
BLINKY EXAMPLE FOR THE ST STM32F767ZI Nucleo-144, REVISION B
This example project demonstrates how to create a kernel task which blinks an LED.
MICRIUM PRODUCT VERSIONS
- uC/OS-II v2.92.15
- uC/OS-III v3.07.03
- uC/CPU v1.31.04
- uC/LIB v1.38.02
IDE/COMPILER VERSIONS
- IAR/EWARM v8.32.1
- TrueSTUDIO/GNU v9.0.0
HARDWARE SETUP
- Connect USB Micro-B cable to CN1 to provide power.
WORKSPACE LOCATIONS
- ST/STM32F767ZI_Nucleo/Blinky/<OS2|OS3>/IAR/Blinky.eww
- ST/STM32F767ZI_Nucleo/Blinky/<OS2|OS3>/TrueSTUDIO/
USAGE INSTRUCTIONS
IAR
- Open the workspace in IAR.
- Press F7 to build the project and Ctrl+D to start the debug session.
- Once the debug session has started, press F5 to run the example.
- The project creates a task which blinks an LED every 1 second.
- Now modify the call to OSTimeDlyHMSM() in StartupTask() to increase or decrease the frequency at which the LED blinks.
- Build and run again to see the change.
TrueSTUDIO
- Import the workspace in TrueSTUDIO and make sure the &quot;Copy projects into workspace&quot; Options box is UNCHECKED.
- Press 'CTRL + B' to build the project and create a Debug session by selecting the Blinky workspace and pressing F11.
- Once the debug session has started, press F8 to run/resume the example.
- The project creates a task which blinks an LED every 1 second.
- Now modify the call to OSTimeDlyHMSM() in StartupTask() to increase or decrease the frequency at which the LED blinks.
- Build and run again to see the change.
Please feel free to post questions or comments related to this example project at Micrium's forum page:
https://www.micrium.com/forums/t ... -nucleo-144-blinky/ |