Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 680 Bytes

File metadata and controls

27 lines (22 loc) · 680 Bytes

Learning Objectives

  • Creating and using FreeRTOS queues to send messages between interrupts and tasks.

Concepts

Queues are the primary mechanism for inter-task communications. They can be used to send messages between tasks, and between interrupts and tasks.

Steps

  1. Complete all the TODOs in the source/tutorials/tutorial_10/source/tutorial_10.c file.

  2. Execute the following commands from the root of the repository to build:

    rm -rf build
    mkdir build
    cd build
    cmake -B . -S ../source/ -DTUTORIAL=10
    make
  3. Execute the following command to run the binary:

    ./freertos_example
  4. Understand the output.