zephyr/scripts/dts/python-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
..
src/devicetree edtlib: add "hash" attribute to nodes 2025-01-22 15:49:10 +01:00
tests edtlib: tests: refine coverage of Binding objects initialization 2025-01-08 19:17:51 +01:00
.gitignore
requirements.txt
setup.py python: Format trivial files where only newlines were missing 2024-11-21 20:10:51 +01:00
tox.ini python-devicetree: unpin types-PyYAML version 2023-01-16 11:19:54 +00:00