zephyr/tests
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
..
application_development global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
arch tests: arch: arm: interrupt: add test-case for spurious exception 2020-04-07 09:57:12 -05:00
benchmarks tests: benchmarks: use high-res counter for MEC1501 SoC 2020-03-31 19:52:21 -04:00
bluetooth boards: nrf52810_pca10040: Rename to nrf52dk_nrf52810 2020-04-06 13:09:07 +02:00
boards tests: Convert to new DT_INST macros 2020-03-31 19:31:20 -05:00
crypto cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
drivers test: dma: Fix k_sleep() parameter error 2020-04-08 08:43:23 -04:00
kernel boards: nrf52810_pca10040: Rename to nrf52dk_nrf52810 2020-04-06 13:09:07 +02:00
lib devicetree: re-work DT_INST_FOREACH() 2020-04-08 09:00:38 -05:00
misc/test_build boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
net net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
portability cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
posix cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
shell cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
subsys boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
unit Revert "cmake: Get unit tests passing CI again" 2020-03-31 10:00:15 -04:00
ztest Revert "cmake: Get unit tests passing CI again" 2020-03-31 10:00:15 -04:00