Skip to main content

Module config

Module config 

Source
Expand description

Build-time runtime configuration — phase-391 W5.

Generated by build.rs from the NROS_RUNTIME_* knobs (or their CONFIG_* Kconfig spellings). Kept in a module of its own, mirroring nros_node::config, so the generated file has one include site.

Constants§

COMPONENT_SLOT_BYTES
Per-slot storage for a type-erased TypedSlot<C>, in bytes (set via NROS_RUNTIME_COMPONENT_SLOT_BYTES, default 512).
MAX_CELL_ENTITIES
Entity-registry slots per component cell, PER KIND (set via NROS_RUNTIME_MAX_CELL_ENTITIES, default 8).
MAX_CLASS_INSTANCES
Instances of one component class the per-class store holds (set via NROS_RUNTIME_MAX_CLASS_INSTANCES, default 2).
MAX_COMPONENTS
Component pool slots (set via NROS_RUNTIME_MAX_COMPONENTS, default 4).