This example demonstrates how to integrate a state machine into Zephyr. It's based on the C Code Generation example.
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.
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