硬汉嵌入式论坛

 找回密码
 立即注册
查看: 1092|回复: 0
收起左侧

[μCOS-III] Micrium发布的STM32L4R9I的uCOS-II和III程序模板

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107049
QQ
发表于 2019-7-8 07:33:08 | 显示全部楼层 |阅读模式
Micrium_STM32L4R9I-EVAL_Blinky.zip (5.41 MB, 下载次数: 89)


BLINKY EXAMPLE FOR THE ST STM32L4R9I-EVAL

This example project demonstrates how to create a kernel task which blinks an LED.

MICRIUM PRODUCT VERSIONS
- uC/OS-II  v2.92.16
- uC/OS-III v3.07.03
- uC/CPU    v1.31.04
- uC/LIB    v1.38.03

IDE/COMPILER VERSIONS
- IAR/EWARM      v8.32.1
- TrueSTUDIO/GNU v9.0.0

HARDWARE SETUP
- Connect USB Mini-B cable to ST-LINK port.

WORKSPACE LOCATIONS
- ST/STM32L4R9I-EVAL/Blinky/<OS2|OS3>/IAR/Blinky.eww
- ST/STM32L4R9I-EVAL/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 "Copy projects into workspace" 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/topic/st-stm32l4r9i-eval-blinky/


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-15 16:55 , Processed in 0.151192 second(s), 28 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表