C file macro arguments and definitions

nRF Connect for VS Code

tags
nRF Connect for VS Code

The extension uses data from the most recent devicetree context to provide completion items for the arguments of the following macros in C:

  • DT_ALIAS
  • DT_NODELABEL
  • DT_PATH
  • DT_CHOSEN

C macro completion

The extension also provides definitions for these four macros and their respective arguments.