Skip to content
DISCLAIMER: This example requires CMake and can not be build with Eclipse

FreeRTOS C

This example demonstrates how to integrate a state machine into FreeRTOS. It's based on the C Code Generation example.

FreeRTOS Installation

In order to run the example, FreeRTOS must be cloned. Clone FreeRTOS from https://github.com/FreeRTOS/FreeRTOS

Compile and run the example

Open a terminal and cd to the root of this project, call cmake, make the project and run the binary. Ensure that the state machines code has been generated.


cd "path to your project"
cmake -B build -DCOMPILER=GCC_POSIX -DFREE_RTOS_PATH="path to your cloned FreeRTOS"
./create_freeRTOS

Download examples

Drag to install

Drag to your running itemis CREATE (min. version 2.8.0) workspace.

Back to overview