Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>nRF DeviceTreeNew to Visual Studio Code? Get it now.
nRF DeviceTree

nRF DeviceTree

Nordic Semiconductor

nordicsemi.com
|
221,934 installs
| (3) | Free
Full DeviceTree language support for the Zephyr project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

nRF DeviceTree

Nordic Semiconductor’s nRF DeviceTree extends the nRF Connect for VS Code extension to offer devicetree language support. The devicetree language allows you to configure several different devices such as LEDs, a display, and sensors, to have better control of your project.

Note: This extension can only be used together with the nRF Connect for VS Code extension. For a complete user experience, install the full nRF Connect Extension Pack.

For detailed information about the extension, see the Devicetree View documentation site.

Devicetree language support

Devicetree language support is one of the main features of nRF DeviceTree.

  • Syntax validation and highlighting

  • Code completion for the devicetree language, which validates properties nodes, and phandle cell names.

    Code completion

  • Add missing required properties

    Add required properties

  • Linting: including reference validity, bus matching, and GPIO collision detection

  • C file macro argument and directive completion

Devicetree Visual Editor

nRF DeviceTree extension features the Devicetree Visual Editor, which allows you to edit your devicetree configuration using an intuitive GUI.

Devicetree Visual Editor

Read more about the editor in How to work with Devicetree Visual Editor and Devicetree Visual Editor UI.

Information about devicetree context

From the Devicetree View, you can check your devicetree configuration from one location.

Devicetree context

For more information, read the Devicetree context page.

Creating an overlay file

Create devicetree overlay files for your application in just a few seconds, by clicking on the Config files folder found in your application's Details View.

Create a devicetree overlay file

Feedback

Let us know what you think using the Give Feedback form within the extension, or ask questions in the Nordic DevZone.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft