The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_RING_BUFFER

Enable ring buffers

Type: bool

Help

Enable usage of ring buffers. This is similar to kernel FIFOs but ring
buffers manage their own buffer memory and can store arbitrary data.
For optimal performance, use buffer sizes that are a power of 2.

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At lib/os/Kconfig:12

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:10

Menu path: (Top) → Additional libraries → OS Support Library

config RING_BUFFER
    bool "Enable ring buffers"
    help
      Enable usage of ring buffers. This is similar to kernel FIFOs but ring
      buffers manage their own buffer memory and can store arbitrary data.
      For optimal performance, use buffer sizes that are a power of 2.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)