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

FreeRTOS - RTOS Integration (C)

Embedded Systems Integration Guide - FreeRTOS Integration.

This example has been created to illustrate how itemis CREATE can be integrated in FreeRTOS. You can find a detailed description in our documentation.

The state machine

The state machine contains the following parts:

  • Two regular states
  • One final state
  • Two incoming events
  • Two outgoing events
  • One timed event
The main idea is to use every component, which has an effect on the integration of the state machine code. A detailed description can be found in our documentation.

The statechart

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