nxp_monkey.details

design / api / details

details(part, *, variant="ksdk2_0", version=None, client=None)

Kind: function.

Return a populated PartDetails for part. Fetches on demand if the local cache is empty, then parses the small spine XML files: <PART>.xml, common/cores_info.xml, processor.properties, and one <PART_VARIANT>.xml per package SKU.

Heavier payloads (per-peripheral registers, pin-mux model, clock tree) are intentionally not parsed here. Reach them through the returned root path and per-variant db_links. See docs/research/xml_survey.md for the schema universe.

Errors

Raises NxpFetchError when the part cannot be fetched or when its <PART>.xml is missing or malformed.

details_from_cache(part, *, variant, version)

Kind: function.

Offline counterpart to details(). Builds a PartDetails from an already-populated cache directory without touching the network. Raises NxpFetchError when the expected cache path is missing.

Use cases

Related