Segger embOS#

RTOS abstraction layers & thread-safety integrations for SEGGER 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.

Advantages & differences

Learn how Pigweed’s wrappers improve safety, catch bugs at compile-time or runtime, and compare directly with raw embOS APIs.

Advantages & differences
Setup

Integrate embOS with GN, configure target parameters, and configure module backend options.

Setup

Modules#

The following table lists all modules related to Segger embOS.

Name

Status

Description

Languages

pw_chrono_embos

stable

pw_sync_embos

stable

pw_thread_embos

stable