Zephyr backend modules#
Pigweed provides native Zephyr backends for several of its core OS abstraction layers.
API group |
Backend module |
Description |
|---|---|---|
Time |
Non-overflowing 64-bit clock support and delayable-work timers. |
|
Interrupts |
Interrupt-context detection utilities. |
|
Memory Allocation |
Interface wrappers mapping allocation to Zephyr kernel heaps. |
|
Synchronization |
Type-safe Mutex, TimedMutex, Semaphores, and ThreadNotification. |
|
Threading |
Thread creation, sleep, yield, and iteration utilities. |
|
Asserts |
Routing and optional tokenization of assertions. |
|
Logging |
Plain and tokenized logging backend support. |
|
Serial I/O |
Standard I/O operations routed to the console or USB subsystem. |
|
SPI |
Native implementation of SPI interfaces. |
|
Environment Setup |
CLI tools like |
Note
The version of Zephyr bundled with pw package install zephyr is
being migrated to v3.6 as we near the latest release.