General Utility Classes

[中文]

Overview

brookesia_lib_utils is the general-purpose utility library for ESP-Brookesia: task scheduling, thread configuration, profiling, logging, state machines, plugins, and helpers.

Features

  • Thread configuration: RAII-style thread settings (name, priority, stack, core affinity)

  • Task scheduler: Boost.Asio–based async scheduling (immediate, delayed, periodic)

  • Logging: ESP_LOG and printf-style output with formatting

  • State machine and plugins: complex flows and modular extension

  • Helpers: checks, function guards, describe/serialization

  • Profilers: memory, thread, and time analysis

Core Utilities

Helpers

Debug Tools