Skip to content
Commit 62bf267b authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

scripts/dts/edtlib.py: Hoist enum checking before early out



Move the enum checking before we early out for '#' and '-map' properties
so they can benefit from it.  Also make the error messages for failed
'enum' check more informative by including the paths to the .dts file
and the binding for the node.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
Signed-off-by: default avatarUlf Magnusson <Ulf.Magnusson@nordicsemi.no>
parent 2db8518c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment