A conversion is described by the configuration model below. Write settings in a YAML file passed to --path; every setting except result_views and the reserved settings also has a CLI flag, such as --model.path. A structured setting, such as --operators, --transforms, --memory.tensors, --memory.constraints or --test.state-feedback, takes JSON on the command line, one value per list entry; YAML is easier to read and review for those. Explicit CLI values override matching YAML settings; see the configuration guide for precedence and validation.
The tables are generated from the configuration model. Use the configuration guide for complete examples, precedence and rule matching.
Output path for the generated module. Use a directory for an unpacked module, a ‘.zip’ suffix for a generic zip archive, or a ‘.pack’ suffix for an Open-CMSIS-Pack archive (requires module.type=cmsis_pack).
module.type
ModuleType
cmake
one of zephyr, cmake, nsx, cmsis_pack
--module.type
Module type: cmake, zephyr, nsx or cmsis_pack. cmsis_pack is experimental.
module.name
str
helia_aot_nn
pattern ^[A-Za-z_][A-Za-z0-9_-]*$
--module.name
Module name
module.prefix
str
aot
pattern ^[A-Za-z_][A-Za-z0-9_]*$
--module.prefix
Prefix added to sources for unique namespace
module.schedule
ScheduleMode
table
one of table, static
--module.schedule
Operator dispatch shape in the generated model: ‘table’ (default) keeps the runtime function-pointer table and per-node callback seam; ‘static’ emits straight-line direct calls (no table, no loop, no indirect dispatch).
module.zephyr_dtcm_bytes
int
—
≥ 0
--module.zephyr-dtcm-bytes
Size in bytes of an application-provided Apollo4 Plus Zephyr DTCM linker region, before platform.reserve and memory.constraints. Omit to offer the stock EVB layout snippet.
module.transfer_provider
TransferProviderMode
auto
one of auto, none
--module.transfer-provider
Experimental. The transfer provider emitted beside a module with ‘dma’ units: ‘auto’ emits the module type’s provider when the type has one (‘nsx’: on nsx-psram’s asynchronous read; ‘cmake’, ‘cmsis_pack’ and ‘zephyr’: none today), ‘none’ emits no provider for an application that binds its own. No effect without ‘dma’ units.
Experimental. The stream pool that constants with residency stream are copied into: its bytes, and optionally its memory (dtcm, the default and the only accepted value). Its alignment is derived and stated as <prefix>_arena_pool_dtcm_alignment and the report’s stream_pool.alignment. Reserved in the memory’s budget before planning and emitted as a region the application binds in both arena modes
If true, the module will use internal, statically allocated arenas. If false, the caller must bind every region via <prefix>_bind_arena() / <prefix>_bind_arenas() before model_init.
If true, write a machine-readable residency report (<prefix>_residency.json) alongside the emitted module. Mirrors the verbose log summary as JSON for tooling that needs to introspect arena layout, staged-vs-cold residency, and per-tensor placement post-planning.
one of mram, sram, dtcm, itcm, dram, psram, hblram; required
configuration file only
Memory type (e.g., DTCM, ITCM)
memory.constraints[].max_size
int
—
—
configuration file only
Maximum size in bytes, or None for no limit
memory.constraints[].arena_alignment
int
—
—
configuration file only
Optional per-arena alignment floor in bytes. When set, applied to both the arena base symbol and every slot. When None, only the 16-byte implementation floor applies to the base; per-slot alignment is driven by platform / dtype / tensor hints.
Target platform name; with platform.facts catalog, a helia-platforms board, part, SoC, implementation or composition id, or an alias
platform.cm55_during_npu
Cm55DuringNpu
undeclared
one of awake, may_sleep, undeclared
--platform.cm55-during-npu
Application guarantee for the CM55 during Atomiq NPU work, through driver completion.
platform.facts
PlatformFacts
registered
one of registered, catalog
--platform.facts
Experimental. Where the configuration comes from: registered (the registry entry or the custom fields) or catalog (derived from the helia-platforms catalog target platform.name selects)
platform.boot
str
—
—
--platform.boot
Experimental. With platform.facts catalog: a boot configuration the target defines, such as sbl; the target’s default when unset
platform.addons
list[str]
[]
—
--platform.addons
Experimental. With platform.facts catalog: helia-platforms add-on ids fitted to a board target
platform.reserve
dict[helia_aot.platforms.defines.MemoryType, int]
{}
—
--platform.reserve
Experimental. With platform.facts catalog: bytes per memory reserved for the application, subtracted once from the derived size
platform.cpu
str
—
—
--platform.cpu
CPU core type (e.g., cortex-m55); refused with platform.facts catalog, which gives the core
platform.speeds
list[int]
[]
—
--platform.speeds
Deprecated since 0.32.0, removed in the next major release: remove it; no conversion reads it. Declared clock speeds in MHz; refused with platform.facts catalog
platform.memories
dict[helia_aot.platforms.defines.MemoryType, int]
{}
—
--platform.memories
Memory sizes in bytes; refused with platform.facts catalog, where platform.reserve lowers a budget
platform.capabilities
list[helia_aot.platforms.defines.SocCapability]
[]
—
--platform.capabilities
List of SoC capabilities; with platform.facts catalog, a restriction of the derived set, where an empty list is no restriction
platform.preferred_memory_order
list[helia_aot.platforms.defines.MemoryType]
[]
—
--platform.preferred-memory-order
Preferred memory order for allocations; refused with platform.facts catalog, where memory.constraints orders placement
platform.min_alignment
int
—
—
--platform.min-alignment
Minimum alignment requirement in bytes; with platform.facts catalog, it replaces the derived floor
platform.overlay
Path
—
—
--platform.overlay
helia-platforms overlay file that defines platform.name, or with platform.facts catalog adds entries to the catalog; relative to the configuration file that sets it, or to the working directory for the flag
Allow auto knob values that change numerics relative to the knob’s default (e.g. fast accumulation)
optimization.accumulation
Accumulation
auto
one of auto, precise, fast
--optimization.accumulation
FP16 fully connected and depthwise accumulation: precise (four-tap FP32 folding on eligible packed fully connected layers, otherwise standard; the default depthwise entry), fast (legacy fully connected routing; the FP16-lane depthwise entry; approximate where alternatives apply) or auto; FP16 convolution packs at every setting
optimization.kernel
KernelChoice
auto
one of auto, specialized, generic
--optimization.kernel
Int8 convolution, depthwise, fully connected and bilinear resize entry: specialized (shape-specialized ns-cmsis-nn direct entries where they apply), generic (the general entries, fewer kernels linked) or auto; both are exact
optimization.budget
dict[str, float]
—
—
configuration file only
Reserved: not implemented yet. Constraints for the optimizer, e.g. accuracy_drop or tcm_bytes
optimization.plan
Path
—
—
--optimization.plan
Experimental. Path to a plan whose schedule and declared placement, operator knob and direct-entry choices the conversion applies