pub fn resolve_base(
chip: &str,
devkit: Option<&str>,
base_override: Option<&str>,
) -> Result<BaseDts, DataError>Expand description
Resolves the base device tree for a chip.
Selection order, highest priority first:
base_override(the[dts].basestem) — matched as.dtsthen.dtsi.devkit(the[profile].devkitstem) — matched as.dtsthen.dtsi.- the generic SoC
.dtsiderived from the chip part number.
§Errors
Returns DataError::UnknownChip if the chip family has no DTS directory,
or DataError::UnknownDts if an explicit stem does not match any embedded
file.