

The launch.json file will use this configuration to start debugging. In v1.1.0 settings are added to configure a gdbserver and a gdb executable. You can filter the C-STAT warnings by setting iarvsc.cstatFilterLevel in your user settings. Since these tasks do not use a regular problem matcher. When running these tasks, VS Code might prompt you about scanning the task output, and it is recommended to select Never scan the task output for iar-cstat tasks, You can run C-STAT on your project with the iar-cstat: Run C-STAT Analysis task, and clear the warnings with iar-cstat: Clear C-STAT Diagnostics. When you select a different configuration, project or workbench, this task will use the newly selected items. When selecting one of the two, a default task is generated which uses the workbench, project and configuration selected using the UI. iar: IAR Rebuild - template using selected workbench, project and config.iar: IAR Build - template using selected workbench, project and config.When you execute the VSCode command Tasks: Configure Task two items are added which are generated by this extension: In that case you will need to set iarvsc.iarInstallDirectories in your settings.json file, see Extension Settings Building If your Embedded Workbench is installed in a non-standard location, the plugin might not autodetect it. There is also a view in the explorer tab for these settings.Īlternatively, you can call the commands behind those buttons, see the contribution tab in the extension section of VS Code. You may select which workbench to use, which configuration to build, and other settings using buttons in the statusbar.

The extension will automatically detect Embedded Workbench installations on your systems, as well as IAR projects in your VS Code workspace. Improvements are welcome through pull requests or issue reports. In the Features section you can find more information on how to use this extension. The plugin can parse ewp files and convert them to a valid c_cpp_properties.json configuration which is used by the cpptools extension made by Microsoft. IAR Systems has contributed to the development of this plugin. This plugin works on any operating system supported by VS Code and IAR Systems. If possible, include also the project file (.ewp).

If you find any problems with this plugin, please open an issue on GitHub and include the compiler and version used. The goal is to support all IAR Systems compiler variants like for example Arm, RISC-V, MSP430, AVR, STM8, 8051, Renesas RX, RL78 and RH850. This plugin makes it possible to combine the IAR Systems compiler solutions with Visual Studio Code.
