23.1.3. CMSIS OS2 Blinky (ucos_iii)
23.1.3.1. Overview
This project demonstrates the kernel scheduling function of CMSIS OS2 ucos_iii. The 5 threads of this project wake up each other, count the number of runs of the 5 threads, and print them out on the serial port.
23.1.3.2. Board Setting
No special settings are required
23.1.3.3. Running the example
When the example runs successfully, the following message is displayed in the terminal:
run times of phaseA, phaseB, phaseC, phaseD, clock
1, 0, 0, 0, 0
1, 0, 0, 0, 1
1, 1, 0, 0, 2
1, 1, 0, 0, 3
1, 1, 1, 0, 4
1, 1, 1, 0, 5