32.5.1. uC/OS-III Hello World

32.5.1.1. Overview

The example shows uC/OS-III task scheduling function.

32.5.1.2. Board Setting

No special settings are required

32.5.1.3. Project Configuration

set(CONFIG_UCOS_III_TIMER_RESOURCE_GPTMR 1) to use the gptmr as system’s tick source.

32.5.1.4. Running the example

When the example runs successfully, the LED starts flashing and following message is displayed in the terminal:

Toggle the led pin level.
LED is off.
LED is off.
LED is off.
LED is off.
Toggle the led pin level.
LED is on.
LED is on.
LED is on.
Toggle the led pin level.
LED is off.
LED is off.
LED is off.
LED is off.