Searched refs:from_dict (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/scripts/ |
D | list_boards.py | 45 def from_dict(revision): member in Revision 48 revisions.append(Revision.from_dict(r)) 58 def from_dict(variant): member in Variant 61 variants.append(Variant.from_dict(v)) 85 [Variant.from_dict(v) for v in variants if c == v['cpucluster']] 88 return Soc(soc.name, variants=[Variant.from_dict(v) for v in variants]) 286 revisions=[Revision.from_dict(v) for v in 289 variants=[Variant.from_dict(v) for v in board.get('variants', [])], 313 node.variants.append(Variant.from_dict(v))
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 2576 from_dict: dict, 2598 for prop in from_dict: 2600 and isinstance(from_dict[prop], dict)): 2601 _merge_props(to_dict[prop], from_dict[prop], prop, binding_path, 2604 to_dict[prop] = from_dict[prop] 2605 elif _bad_overwrite(to_dict, from_dict, prop, check_required): 2612 if not (isinstance(from_dict["required"], bool) and 2618 to_dict["required"] = to_dict["required"] or from_dict["required"] 2621 def _bad_overwrite(to_dict: dict, from_dict: dict, prop: str, 2626 if to_dict[prop] == from_dict[prop]: [all …]
|