zephyr/tests/lib/devicetree
Swift Tian 74ddfbc8a2 tests: devicetree: Add a test test_child_nodes_number
The test uses DT_CHILD_NUM and DT_INST_CHILD_NUM to get the number of
child nodes of a given node from generated macro.
The test uses DT_CHILD_NUM_STATUS_OKAY and DT_INST_CHILD_NUM_STATUS_OKAY
to get the number of child nodes of a given node which children's status
are "okay" from generated macro.

Signed-off-by: Swift Tian <swift.tian@ambiq.com>
2024-05-03 11:18:43 +02:00
..
api tests: devicetree: Add a test test_child_nodes_number 2024-05-03 11:18:43 +02:00
api_ext tests/lib/devicetree: Enable for native_sim 2023-11-27 16:06:42 +00:00
devices tests: lib: devicetree devices: only run on native_sim 2024-01-29 10:29:38 +01:00
memory_region tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00