Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>IAR VS Code Auto ConfigNew to Visual Studio Code? Get it now.
IAR VS Code Auto Config

IAR VS Code Auto Config

paramonikhin

|
3 installs
| (0) | Free
Automatically generates VS Code build, flash, debug, and attach configurations for IAR projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

IAR VS Code Auto Config

Generates ready-to-use Visual Studio Code configurations for IAR Embedded Workbench projects (.ewp).

The extension reads projects and their build configurations directly, then creates .vscode/tasks.json, .vscode/launch.json, and .vscode/iar-vsc.json.

Features

  • Detects IAR projects in the opened workspace.
  • Detects the actual IAR workspace (.eww) by its contents; the filename is unrestricted.
  • Lets you select individual IAR build configurations.
  • Generates build, flash, debug, and attach actions.
  • Adds a generation button to the IAR Build project view.
  • Uses the toolchain currently selected in the official IAR Build extension.
  • Supports STM32L4, STM32F4, STM32F1, and STM32F0 families.
  • Can generate configuration automatically when a project is opened for the first time.

Requirements

  • Windows.
  • IAR Embedded Workbench for Arm.
  • Python 3 with the Windows py launcher.
  • The official IAR Build and IAR C-SPY Debug extensions for Visual Studio Code.

Usage

  1. Open a folder containing one or more .ewp files.
  2. Run IAR Build: Regenerate VS Code Build/Flash/Debug Files from the Command Palette, or press the tools button in the IAR Build project view.
  3. Select the required IAR configurations.
  4. Select the actions to generate.

Existing generated files are replaced only after confirmation. Automatic generation runs only when no generated VS Code configuration exists.

Settings

  • iarAutoConfig.generateOnOpen: enable automatic generation for a new workspace.
  • iarAutoConfig.iarPath: fallback installation path used only when IAR Build has no selected toolchain.

When multiple IAR installations are available, select the required one with IAR Build: Select Toolchain. Generated build, flash, debug, and attach configurations will use that same installation.

Supported actions

  • Build + Flash + Debug
  • Build + Flash without debugging
  • Attach without flashing

Known limitations

The extension currently targets IAR Embedded Workbench for Arm projects on Windows. Device and flash-loader information is derived from the IAR project files and installed IAR configuration files.

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