zephyr/scripts/dts/python-devicetree
Grzegorz Swiderski 46572f797f dtlib: Allow deleting the root node
Previously, dtlib would fail to parse the following:

   /delete-node/ &{/};

This is accepted by dtc, so dtlib should be aligned.

The expected behavior is that the contents of the "deleted" root node
are emptied, but the node itself remains in the tree. This means that
it's possible to put that statement at the end of a DTS file and still
get a valid output. A small test case for this scenario is included.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2024-06-06 00:42:10 -07:00
..
src/devicetree dtlib: Allow deleting the root node 2024-06-06 00:42:10 -07:00
tests dtlib: Allow deleting the root node 2024-06-06 00:42:10 -07:00
.gitignore
requirements.txt
setup.py scripts: dts: update pyyaml version 2024-03-29 09:03:34 -04:00
tox.ini python-devicetree: unpin types-PyYAML version 2023-01-16 11:19:54 +00:00