Home
last modified time | relevance | path

Searched refs:TEST_DEADBEEF (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c17 #define TEST_DEADBEEF DT_PATH(test, gpio_deadbeef) macro
118 zassert_equal(DT_NUM_REGS(TEST_DEADBEEF), 1, ""); in ZTEST()
119 zassert_equal(DT_REG_ADDR(TEST_DEADBEEF), 0xdeadbeef, ""); in ZTEST()
120 zassert_equal(DT_REG_SIZE(TEST_DEADBEEF), 0x1000, ""); in ZTEST()
121 zassert_equal(DT_PROP(TEST_DEADBEEF, gpio_controller), 1, ""); in ZTEST()
122 zassert_equal(DT_PROP(TEST_DEADBEEF, ngpios), 100, ""); in ZTEST()
123 zassert_true(!strcmp(DT_PROP(TEST_DEADBEEF, status), "okay"), ""); in ZTEST()
124 zassert_equal(DT_PROP_LEN(TEST_DEADBEEF, compatible), 1, ""); in ZTEST()
125 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_DEADBEEF, compatible, 0), in ZTEST()
127 zassert_true(!strcmp(DT_PROP_LAST(TEST_DEADBEEF, compatible), "vnd,gpio-device"), ""); in ZTEST()
[all …]