Searched refs:TEST_NODELABEL (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 20 #define TEST_NODELABEL DT_NODELABEL(test_nodelabel) macro 161 zassert_equal(DT_NUM_REGS(TEST_NODELABEL), 1, ""); in ZTEST() 162 zassert_equal(DT_REG_ADDR(TEST_NODELABEL), 0xdeadbeef, ""); in ZTEST() 163 zassert_equal(DT_REG_SIZE(TEST_NODELABEL), 0x1000, ""); in ZTEST() 164 zassert_equal(DT_PROP(TEST_NODELABEL, gpio_controller), 1, ""); in ZTEST() 165 zassert_equal(DT_PROP(TEST_NODELABEL, ngpios), 100, ""); in ZTEST() 166 zassert_true(!strcmp(DT_PROP(TEST_NODELABEL, status), "okay"), ""); in ZTEST() 167 zassert_equal(DT_PROP_LEN(TEST_NODELABEL, compatible), 1, ""); in ZTEST() 168 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_NODELABEL, compatible, 0), in ZTEST()
|