zephyr/scripts/dts/python-devicetree/tests
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
..
test-bindings
test-bindings-2
test-bindings-include edtlib: test filters set by including bindings 2024-04-22 06:50:55 -07:00
test-wrong-bindings
test_dtlib.py dtlib: Allow deleting the root node 2024-06-06 00:42:10 -07:00
test_edtlib.py edtlib: test filters set by including bindings 2024-04-22 06:50:55 -07:00
test-multidir.dts
test.dts