Skip to content
Commit 74ddfbc8 authored by Swift Tian's avatar Swift Tian Committed by Carles Cufí
Browse files

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: default avatarSwift Tian <swift.tian@ambiq.com>
parent 5871ff01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment