ENABLE_QUEUE¶
Flag to select the queue implementation for detection data processing.
Controls whether FreeRTOS queues or a custom ring buffer is used for command and event processing.
Default¶
- v2: Enabled by default (
ENABLE_QUEUE=1, FreeRTOS queue) — set inplatformio.ini - v1: Disabled by default (
ENABLE_QUEUE=0, custom ring buffer)
Options¶
ENABLE_QUEUE=1: Use FreeRTOS queue with static allocation (v2 default)ENABLE_QUEUE=0: Use custom ring buffer implementation (v1 default)
Override with platformio.override.ini¶
To disable FreeRTOS queue and use the custom ring buffer instead:
[env:esp32dev-v2]
build_flags =
-D ENABLE_QUEUE=0
Memory Overhead¶
ENABLE_QUEUE=0: Custom ring buffer, minimal overheadENABLE_QUEUE=1: FreeRTOS static allocation, slightly higher overhead
History¶
- v1.9.2 — Initial implementation as
ENABLE_FREERTOS_QUEUE - v1.9.7 — Renamed to
ENABLE_QUEUE