zephyr/tests/lib
Martí Bolívar 63d5529a0d devicetree: re-work DT_INST_FOREACH()
Due to the use of UTIL_EVAL*() macros, the UTIL_LISTIFY() macro used
by DT_INST_FOREACH(foo) can cause long build errors when there is a
build error in the expansion for "foo". More than a thousand lines of
build error output have been observed for an error in a single line of
faulty C.

To improve the situation, re-work the implementation details so the
errors are a bit shorter and easier to read. The use of COND_CODE_1
still makes the error messages quite long, due to GCC generating notes
for various intermediate expansions (__DEBRACKET,
__GET_ARG_2_DEBRACKET, __COND_CODE, Z_COND_CODE_1, COND_CODE1), but
it's better than the long list of UTIL_EVAL notes.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-04-08 09:00:38 -05:00
..
c_lib cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
devicetree devicetree: re-work DT_INST_FOREACH() 2020-04-08 09:00:38 -05:00
fdtable cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
gui/lvgl cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
json cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mem_alloc cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
notify sys: add generic asynchronous notification infrastructure 2020-04-06 16:41:41 +02:00
onoff sys: onoff: generalize and shorten API 2020-04-06 16:41:41 +02:00
ringbuffer cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
sprintf cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00