kernel-services
Installation
SKILL.md
Zephyr Kernel Services
Move beyond basic threading and logging to build modular, event-driven, and robust Zephyr applications.
Core Workflows
1. Event-Driven Communication (Zbus)
Decouple your modules using a lightweight publish-and-subscribe bus.
- Reference: zbus.md
- Key Tools:
ZBUS_CHAN_DEFINE,ZBUS_SUBSCRIBER_DEFINE,zbus_chan_pub.
2. Behavioral Logic (SMF)
Manage complex system states and transitions using the State Machine Framework.
- Reference: smf.md
- Key Tools:
smf_set_state,SMF_CREATE_STATE, Hierarchical states.