pw_sync_zephyr#

Pigweed AI summary: This paragraph describes the implementation of the pw_sync_zephyr sync backend, which is enabled by setting CONFIG_PIGWEED_SYNC=y. Specific submodules can be enabled via the Kconfig menu, including pw_sync.mutex, pw_sync.binary_semaphore, and pw_sync.interrupt_spin_lock.

Overview#

Pigweed AI summary: This paragraph describes a sync backend that implements the pw_sync facade. To enable it, the CONFIG_PIGWEED_SYNC setting must be set, and specific submodules can be enabled through the Kconfig menu. These submodules include pw_sync.mutex, pw_sync.binary_semaphore, and pw_sync.interrupt_spin_lock, which can be enabled through their respective CONFIG_PIGWEED_SYNC settings.

This sync backend implements the pw_sync facade. To enable, set CONFIG_PIGWEED_SYNC=y. After that, specific submodules can be enabled via the Kconfig menu.

  • pw_sync.mutex can be enabled via CONFIG_PIGWEED_SYNC_MUTEX.

  • pw_sync.binary_semaphore can be enabled via CONFIG_PIGWEED_SYNC_BINARY_SEMAPHORE.

  • pw_sync.interrupt_spin_lock can be enabled via CONFIG_PIGWEED_SYNC_INTERRUPT_SPIN_LOCK.