Skip to content
Commit 922b469f authored by Martí Bolívar's avatar Martí Bolívar Committed by Kumar Gala
Browse files

devicetree: add accessors with default values



Add a variety of property and specifier cell accessors that fall back
on a default value supplied by the caller if the devicetree does not
contain the requested data.

This is useful for avoiding use of COND_CODE_1() and similarly tricky
macros in applications and drivers.

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