zephyr/tests/lib
Martí Bolívar 38ede5aded dts: handle unspecified phandle-array elements
The DTS language permits zeroing out phandles in a phandle array to
say "there's nothing at this index", and dtlib manages that correctly,
but edtlib and gen_defines.py aren't equipped to do so.

Fix this by allowing None elements in the lists of ControllerAndData
values returned by edtlib for such properties.

Handle that in gen_defines.py by setting the generated
DT_N_<node>_P_<prop>_IDX_<i>_EXISTS macro to 0 in such cases.

The DT_N_<node>_P_<prop>_LEN macro still accounts for the entire
length of the phandle-array; it's just that some indexes may be
missing data.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-12-22 07:34:29 -06:00
..
c_lib libc: add strtok_r implementation 2020-08-18 09:19:58 -07:00
cmsis_dsp tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
devicetree/api dts: handle unspecified phandle-array elements 2020-12-22 07:34:29 -06:00
fdtable tests: lib: fdtable: fix tests after modifying reference counting 2020-08-27 11:42:19 +03:00
gui/lvgl tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
heap tests/lib/heap: Add test for sys_heap_realloc() 2020-12-07 21:50:14 -05:00
heap_align lib/os/heap: minimize initial overallocation in the aligned case 2020-11-30 14:50:07 -05:00
json tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
mem_alloc tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
notify tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
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 tests/sprintf: FP tests independent of endian 2020-12-04 14:33:43 +02:00