idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::console::repl::config Struct Reference

REPL configuration parameters. More...

#include <idfxx_console/include/idfxx/console.hpp>

Public Attributes

size_t max_history_len = 32
 Maximum command history length.
 
std::filesystem::path history_save_path = {}
 File path for history persistence (empty = no save)
 
size_t task_stack_size = 4096
 REPL task stack size in bytes.
 
task_priority priority = 2
 REPL task priority.
 
std::optional< core_idcore_affinity = std::nullopt
 Core affinity (nullopt = any core)
 
std::string_view prompt = {}
 Prompt string (empty = default "esp> ")
 
size_t max_cmdline_length = 0
 Maximum command line length (0 = default 256)
 

Detailed Description

REPL configuration parameters.

Definition at line 294 of file console.hpp.

Member Data Documentation

◆ core_affinity

std::optional<core_id> idfxx::console::repl::config::core_affinity = std::nullopt

Core affinity (nullopt = any core)

Definition at line 299 of file console.hpp.

◆ history_save_path

std::filesystem::path idfxx::console::repl::config::history_save_path = {}

File path for history persistence (empty = no save)

Definition at line 296 of file console.hpp.

◆ max_cmdline_length

size_t idfxx::console::repl::config::max_cmdline_length = 0

Maximum command line length (0 = default 256)

Definition at line 301 of file console.hpp.

◆ max_history_len

size_t idfxx::console::repl::config::max_history_len = 32

Maximum command history length.

Definition at line 295 of file console.hpp.

◆ priority

task_priority idfxx::console::repl::config::priority = 2

REPL task priority.

Definition at line 298 of file console.hpp.

◆ prompt

std::string_view idfxx::console::repl::config::prompt = {}

Prompt string (empty = default "esp> ")

Definition at line 300 of file console.hpp.

◆ task_stack_size

size_t idfxx::console::repl::config::task_stack_size = 4096

REPL task stack size in bytes.

Definition at line 297 of file console.hpp.


The documentation for this struct was generated from the following file: