Skip to main content

Module loader

Module loader 

Source
Expand description

Generation-target catalog — a port of the TS loader GENERATION_TARGET_CATALOG / listGenerationTargetSupport. Static metadata describing the four emit targets (used by explain, and later generate).

Structs§

GenerationTargetSupport
Static metadata for one generation/emit target (Zephyr conf, DTS overlay, etc.).
LoaderPlan
The output path + command line a loader run would use (mirror of TS createLoaderPlan, limited to the fields trace/support-bundle surface). emit must be a valid target; paths are joined as given (callers pass resolved roots).

Constants§

ALL_EMIT_MODES
The four emit modes, in catalog order (mirrors TS ALL_EMIT_MODES).

Functions§

create_loader_plan
Builds the LoaderPlan for target: resolves the output path under workspace_root and formats the alp_project.py command line.
generation_target_support
Looks up a target by its emit key; None if no target matches.
list_generation_target_support
Returns the full catalog of generation targets, in fixed catalog order.