CONFIG_LEGACY_DEVICETREE_MACROS

Allow use of legacy devicetree macros

Type: bool

Help

Allows use of legacy devicetree macros which were used in Zephyr 2.2 and previous versions, rather than the devicetree.h API introduced during the Zephyr 2.3 development cycle.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/Kconfig.zephyr:343

Included via <Zephyr>/Kconfig:8

Menu path: (Top) → Build and Link Features → Build Options

config LEGACY_DEVICETREE_MACROS
    bool "Allow use of legacy devicetree macros"
    help
      Allows use of legacy devicetree macros which were used in
      Zephyr 2.2 and previous versions, rather than the devicetree.h
      API introduced during the Zephyr 2.3 development cycle.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)