zephyr-foundations
Installation
SKILL.md
Zephyr Foundations
Mastering the bedrock of Zephyr is essential for writing efficient, robust, and idiomatic code.
Core Workflows
1. Idiomatic C Patterns
Zephyr uses specific macros to manage memory and hardware-software mapping.
- Reference: zephyr_macros.md
- Key Tools:
CONTAINER_OF,BIT(),GENMASK(),ARRAY_SIZE.
2. Real-Time Concurrency
Safe multi-threading and interrupt handling are critical for stability.
- Reference: concurrency.md
- Key Tools:
k_mutex,k_sem,k_spinlock,atomic_t, ISR safety rules.