STM32L152-Eval Example Projects for µC/OS-II and µC/OS-III
Feature: LED blink
This feature can be tested without the need of any additional Micriµm product. Once the Start Task
begins, LEDs 1 and 2 will start blinking.
IDE(s): IAR Embedded Workbench for ARM v6.40
Keil µVision4 v4.54.0.0
Atollic TrueSTUDIO for ARM Pro v3.1.0
µC/OS II Version: v2.89.00
µC/OS III Version: v3.03.01
µC/CPU Version: v1.29.01
µC/LIB Version: v1.37.00
FOR: STMicroelectronics STM32L152-Eval STM32L152VBT6
Included 3
rd
Party Libraries: STM32L1xx Firmware Libraries
[WARNING]: Make sure to open the project using the mentioned IDE(s) version or later.
IAR Embedded Workbench Startup:
Open the project up in IAR EWARM
+ Found in ‘File’ -> ‘Open’ -> ‘Workspace’
+ Find the directory and workspace where the project is located (Ex:
Micrium/Software/Evalboards/ST/STM32L152-Eval/IAR/uCOS-III/uCOS-III.eww)
- This also applies to uCOS-II, as you would only need to replace the uCOS-III to
uCOS-II, to obtain Micriµm’s OS-II.
Compile the project.
+ This can be found in ‘Project’ -> ‘Make’ or the shortcut (F7)
- Should ‘Make’ with 0 Warnings and 0 Errors.
Have the board connected via USB ST-link (CN1) cable to computer before downloading project
to board.
+ Make sure the (JP12) pins are selecting ST-LINK as the power source.
Once the board is connected and the built-in ST-Link driver has successfully downloaded,
‘Download and Debug’ the project onto the board.
+ Found in ‘Project’ -> ‘Download and Debug’ or the shortcut (Ctrl + D)
Once the project has finished downloading ‘Run’ the project.
+ Found in ‘Debug’ -> ‘Go’ or the shortcut (F5)
To disconnect from the debugging session ‘Stop Debugging’ can be found under ‘Debug’ as well.
- 1
- 2
前往页