Devicetree Visual Editor UI overview

nRF Connect for VS Code

tags
nRF Connect for VS Code

The nRF Connect for VS Code extension features the Devicetree Visual Editor, which provides a visual front-end to the devicetree language.

The editor is made of the following UI areas, described in detail on the following pages:

  • Build Contexts - A subset of the configuration from the Application View, filtered based on the usage of the same context file.
  • Context Files - A list of devicetree source input files for the devicetree context that is currently active.
  • Context Overview - Information about the selected build context, along with information about its board and configuration.
  • Nodes - A list of the nodes in a treeview, where you can control their properties.
  • Peripherals and Pins Views - Simplified graphical representations of the Devicetree hardware configuration.

The editor uses some of the basic electronic symbols throughout its GUI and assigns an icon to each node based on keywords in the node name or labels (or both). The node type is always set in the first property of the node.

The following image shows the default placement of the UI elements, with the Peripherals View open (click to enlarge).

Devicetree Visual Editor user interface

For information about most common actions that you can do in the editor, see How to work with Devicetree Visual Editor. All changes made in the visual editor are automatically mirrored in the code of the devicetree file.