zephyr/scripts/dts/python-devicetree/src/devicetree
Luca Burelli 16d71d0598 edtlib: add "hash" attribute to nodes
Add a new "hash" attribute to all Devicetree EDT nodes. The hash is
calculated on the full path of the node; this means that its value
remains stable across rebuilds.
The hash is checked for uniqueness among nodes in the same EDT.

This computed token is then added to `devicetree_generated.h` and made
accessible to Zephyr code via a new DT_NODE_HASH(node_id) macro.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-01-22 15:49:10 +01:00
..
__init__.py
_private.py edtlib: extract _slice() code to new helper module 2023-02-27 17:44:45 +01:00
dtlib.py style: edtlib: Use a better format string 2025-01-10 18:57:39 +01:00
edtlib.py edtlib: add "hash" attribute to nodes 2025-01-22 15:49:10 +01:00
grutils.py edtlib: always insert root node to the graph 2023-10-11 18:28:01 +03:00