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§
- Generation
Target Support - Static metadata for one generation/emit target (Zephyr conf, DTS overlay, etc.).
- Loader
Plan - The output path + command line a loader run would use (mirror of TS
createLoaderPlan, limited to the fieldstrace/support-bundlesurface).emitmust 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
LoaderPlanfortarget: resolves the output path underworkspace_rootand formats thealp_project.pycommand line. - generation_
target_ support - Looks up a target by its
emitkey;Noneif no target matches. - list_
generation_ target_ support - Returns the full catalog of generation targets, in fixed catalog order.