In case a "required: False" enum binding doesn't mention a default value, but a default value makes sense to be set in the code, DT_ENUM_IDX_OR could be used to provide the default idx to be used. New macro comes with appropriate tests. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> |
||
|---|---|---|
| .. | ||
| api | ||
| legacy_api | ||