Skip to content
Commit 96386eac authored by David van Rijn's avatar David van Rijn Committed by Fabio Baltieri
Browse files

cmake: Add REQUIRED option to devicetree getters



namely:
 - dt_nodelabel
 - dt_alias
 - dt_prop

these currently fail quietly.
This can cause some very confusing errors later on.
By adding `REQUIRED` to the function call one can
easily generate a more clear message:

    required nodelabel not found: ...

Signed-off-by: default avatarDavid van Rijn <david@refractor.dev>
parent ccc243c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment