embOS#
Pigweed’s embOS integration provides a suite of abstractions and helpers designed to make developing C++ applications on SEGGER embOS safer, more robust, and fully compatible with Pigweed’s portable facades.
Compile-time lock safety: Support for Clang’s static thread-safety analysis annotations, enabling compile-time detection of data races and incorrect lock ordering.
Safe non-recursive mutexes: Enforces strict non-recursive mutex semantics and assertions to detect bugs and prevent deadlocks.
Port-safe interrupt spinlocks: Disables task switching and interrupts to prevent deadlocks and context switches during critical sections.
Learn how Pigweed’s wrappers improve safety, catch bugs at compile-time or runtime, and compare directly with raw embOS APIs.
Integrate embOS with GN, configure target parameters, and configure module backend options.
Pigweed provides native embOS backends for several of its core OS abstraction layers.