zephyr/dts
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
..
arc board: iotdk: disable unused peripherals in dts 2020-04-28 11:53:46 -05:00
arm dts: arm: qemu-virt: Modify timer interrupt to be level-sensitive 2020-05-26 16:34:24 +02:00
bindings devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
common dts: introduce macro's to help with changing unit-addr 2020-02-05 17:10:54 -05:00
nios2 dts: nios2: Add interrupt controller support in dts 2020-03-27 15:16:53 -05:00
posix dts: posix: Add DTS support for POSIX architecture 2019-05-28 21:14:19 -04:00
riscv drivers: flash: replace DT_FLASH_DEV_NAME with DT macro 2020-04-27 18:43:20 -05:00
x86 dts: x86: configure different IO APIC delivery modes for various devices 2020-05-08 22:32:39 -04:00
xtensa dts: x86: configure different IO APIC delivery modes for various devices 2020-05-08 22:32:39 -04:00
binding-template.yaml doc: devicetree: update binding-template.yaml 2020-05-28 22:12:38 +02:00
Kconfig drivers: entropy: Remove Kconfig HAS_DTS_ENTROPY 2020-04-13 09:14:21 -05:00