Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Devicetree Manager for ZephyrNew to Visual Studio Code? Get it now.
Devicetree Manager for Zephyr

Devicetree Manager for Zephyr

Ac6

ac6.fr
|
4,673 installs
| (0) | Free
Devicetree editor and pin configurator for Zephyr RTOS projects. Companion extension to Workbench for Zephyr.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Devicetree Manager for Zephyr

Devicetree editor and pin configurator for Zephyr RTOS projects. Companion extension to Workbench for Zephyr.

Devicetree Manager panel

What it does

A workbench panel that shows, for the currently selected Zephyr application + build configuration, a unified view of every editable surface of the devicetree:

  • Pin muxing (chip pin matrix, vendor-themed)
  • GPIOs: pins used through *-gpios properties (LEDs, buttons, chip selects, reset lines, ...) show on the chip, with a warning when a pin has two owners, and each GPIO property has a table editor (pin by name, active level, pull, drive). A GPIO property that is not set takes a pin from its table ("Pick a pin…") or from the chip (the pin's "GPIO" function)
  • Devicetree node tree with binding-typed property editors
  • Per-node detail card with tabs (Properties, Channels, Groups, Pin Groups, Regions, ...)
  • Staging + overlay generation: writes boards/<board>.overlay with per-block, per-property merge so user edits survive regenerations.

Generalised so the same view works for any vendor whose HAL ships machine-generated pinctrl descriptions (today: STM32, NXP MCX, Kinetis, S32K1 and LPC, Microchip SAM and PIC32C, ESP32, Silicon Labs Series 2, Renesas RA and RA0, Infineon; tomorrow: anyone we add a backend for).

Some peripherals take pins only in one mode. A timer that Zephyr runs as a counter (an NXP FlexTimer or CTimer, a Microchip TCC, a TC on PIC32C and SAM E54 boards) becomes a PWM controller when you give it its first output pin. A Microchip SERCOM or an NXP LPC FlexComm gets its mode (UART, I2C, SPI) from you: the panel reports pins on one that has no mode yet, since the build would fail.

Renesas does not ship its pin table with Zephyr. The first time you open a Renesas RA board, the chip area offers an Install button: it downloads the Renesas pin data (about 14 MB, from pinmapping-renesas, which republishes the pin files of each Renesas FSP release), checks it, and keeps it in ~/.zephyr-workbench/devicetree-manager/renesas/. Every RA board then works offline. When a newer version is published, the panel offers it (at most one check a week).

Infineon PSoC 6, PSoC 4, PSoC Control C3, CYW20829, XMC7000 / TRAVEO T2G, PSoC Edge and XMC4500 / XMC4700 boards work out of the box: Zephyr defines part of each chip's pin functions, and the rest come from the Infineon HAL your build already uses. A function Zephyr has no pin node for gets one in the overlay, written with Zephyr's own macros, and every assigned pin gets the drive settings Infineon uses (an Infineon pin with none does nothing).

Requirements

  • VS Code 1.88 or newer.
  • A Python interpreter with edtlib (typically the Zephyr venv the Workbench is already configured against).

Bundled (non-blocking)

  • Workbench for Zephyr ships as an extension pack member, so installing this extension also installs the Workbench. It is a soft dependency, though: DT Manager does not require it to activate. When the Workbench is present, this extension talks to its API to discover Zephyr applications and build configurations and to reuse its configured Zephyr venv. If you disable or uninstall the Workbench, the panel still opens standalone on a build directory (see "How to open" below) and falls back to its own Python discovery.

How to open

  • From the Zephyr Workbench shortcut tree, click Devicetree Manager on an application or build configuration. The Workbench delegates to this extension via VSCode's command API and hands over the selected application + build config.
  • From the command palette: Devicetree Manager: Open. Pick the app and build configuration inside the panel.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft