Skip to content
Commit 8fef6539 authored by Martí Bolívar's avatar Martí Bolívar Committed by Anas Nashif
Browse files

devicetree: add DT_SAME_NODE()



It can be useful to check if an unknown devicetree node identifier
refers to a known node. Add a helper for this. Under the hood, we take
advantage of the ordinals API, which provides the unique identifiers
we need.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 9b423e99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment