zephyr/tests/lib/devicetree/api
Bernardo Perez Priego 9964414655 include/devicetree.h: Add DT_STRING_TOKEN_OR macro
This macro expands to DT_STRING_TOKEN if property exists, otherwise
falls back to default value.
Helpful when a non-required enum binding doesn't mention a default
value, but a default value makes sense to be set in the code.

Including DT_INST_STRING_TOKEN_OR and test code.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
2022-03-10 19:42:59 -08:00
..
src include/devicetree.h: Add DT_STRING_TOKEN_OR macro 2022-03-10 19:42:59 -08:00
app.overlay include/devicetree.h: Add DT_STRING_TOKEN_OR macro 2022-03-10 19:42:59 -08:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf
README
testcase.yaml

Test cases for the devicetree.h API.