zephyr/tests/lib
Martí Bolívar ffc03124c1 devicetree: make DT_PROP_HAS_IDX expand to 0 or 1
We have a use case for checking the results of a DT_PROP_HAS_IDX()
call with COND_CODE_1(). That won't work because its expansion is an
integer comparison; COND_CODE_1() expects a literal 1 or 0.

Adjust the macro implementation so it expands to a literal 1 or 0.
Make this work even when the index argument needs an expansion while
we're at it.

Fixes: #29833
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-11-15 08:44:56 -06:00
..
c_lib
cmsis_dsp
devicetree/api devicetree: make DT_PROP_HAS_IDX expand to 0 or 1 2020-11-15 08:44:56 -06:00
fdtable
gui/lvgl tests: lib: gui: Enable new config flags 2020-11-01 10:51:00 -05:00
heap
heap_align lib/os/heap: Correct aligned_alloc sizing for small heaps 2020-10-23 12:52:04 -04:00
json
mem_alloc
notify
onoff tests: onoff: use typedef for spinlock key 2020-10-06 19:56:51 -04:00
ringbuffer tests: lib: ringbuffer: Add performance test 2020-11-11 13:17:49 +01:00
sprintf libc: switch to cbprintf as basis for printf functionality 2020-11-13 06:38:01 -05:00