DISCLAIMER: This example requires CMake and can not be build with Eclipse
Zephyr C Multi State Machines
This example demonstrates how to integrate a multi state machine into Zephyr. It's based on the C Code Generation for Multi State Machines example.
Zephyr Installation
In order to run the example, Zephyr must be installed. Please follow the Getting Started Guide and ensure that you can at least run the "Hello World" example.
Compile and run the example
Open a terminal and cd to the root of this project, run west build and execute the binary. Ensure that the state machines code has been generated.
cd "path to your project"
west build -b native_posix . -p always
./build/zephyr/zephyr.exe
Get this example
The complete project — statechart models, sources and build files — lives in the itemis CREATE examples repository. Inside itemis CREATE for Eclipse you can import it directly with the example wizard.