zephyr/tests/lib/devicetree
Erwan Gouriou c3eef7744a include/devicetree.h: Add DT_ENUM_IDX_OR macro
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>
2020-10-05 10:15:32 -05:00
..
api include/devicetree.h: Add DT_ENUM_IDX_OR macro 2020-10-05 10:15:32 -05:00
legacy_api tests: devicetree: legacy_api: Exclude test on pinnacle_100_dvk 2020-09-17 16:30:16 -05:00