FreeRTOS Kernel Build Flavour

All Scenarios OS FreeRTOS build flavour is based on freertos distribution (distro configuration).

Supported images:

  • freertos-demo

Supported machines (default in bold):

  • qemuarmv5

Build steps example:

$ TEMPLATECONF=../sources/meta-ohos/flavours/freertos . ./sources/poky/oe-init-build-env build-ohos-freertos
$ bitbake freertos-demo

You can test the image built for the qemuarmv5 target by issuing:

$ runqemu qemuarmv5

After successful bootup, the output of the application will be similar to:

###### - FreeRTOS sample application - ######

A text may be entered using a keyboard.
It will be displayed when 'Enter' is pressed.

Periodic task 10 secs
Waiting For Notification - Blocked...
Task1
Task1
You entered: "HelloFreeRTOS"
Unblocked
Notification Received
Waiting For Notification - Blocked...

To exit qemu, use the following key combination: Ctrl-a followed by ‘x’.