zephyr/tests
Martí Bolívar e4a761cffe devicetree: add migration guide documentation and tests
Add test cases that verify various bits and pieces of the legacy
devicetree macros match the new APIs.

Writing these test cases without giving rise to deprecated macro
warnings which might break people's CI if they build with -Werror
requires turning off the __WARN() generation in
devicetree_legacy_unfixed.h. The entire file is deprecated at this
point and must be explicitly enabled with an opt-in Kconfig option, so
there isn't any harm in doing this.

Nevertheless, take a minimally invasive approach to avoiding __WARN()
generation in gen_legacy_defines.py, to avoid the possibility of
breakage. This code is basically frozen anyway, so hacks like this
won't cause maintainability problems since it isn't being actively
maintained.

Use the new tests as fodder for a migration guide from the old API in
the documentation.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-28 22:12:38 +02:00
..
application_development
arch tests: arch: arm_interrupt: minor style fixes in comments/README 2020-05-27 11:57:55 +02:00
benchmarks
bluetooth
boards
crypto
deprecated/dts
drivers
kernel tests: kernel: stackprot: increase Main stack size for this test 2020-05-28 10:31:05 +02:00
lib devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
misc/test_build
net
portability
posix
shell
subsys tests/subsys/settings/functional/nvs: add nrf52xx configuration 2020-05-28 17:11:12 +02:00
unit
ztest