zephyr/tests/lib/devicetree/api
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
..
src include/devicetree.h: Add DT_ENUM_IDX_OR macro 2020-10-05 10:15:32 -05:00
app.overlay include/devicetree.h: Add DT_ENUM_IDX_OR macro 2020-10-05 10:15:32 -05:00
CMakeLists.txt cmake: removing DTS_ROOTS in test samples as they serves no purpose 2020-07-03 12:18:04 -04:00
prj.conf
README
testcase.yaml tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00

Test cases for the devicetree.h API.