I want to use Visual Studio Code as my main IDE, but I want to compile my code with IAR's compiler.
How could I configure VSCode ?
I found this extension but the documentation is too poor.
Choose File> New> Project and select Import IAR Embedded Workbench projects. Click Next and type (or browse to) the path to appropriate project/workspace file or directory. Click the Refresh button and select projects to import. Click Next and set the import destination, project contents and build configuration to use.
It is possible to open the IAR Embedded Workbench IDE from VS Code, by running the iar: Open Workspace in IAR Embedded Workbench task. This will open the current project in the IDE.
Click [File]> [New Workspace] to create a new workspace and then click [Project]> [Create New Project…] to create a project file (. ewp). When a project file created, the project name is displayed in the [Workspace view] of the IAR Embedded Workbench.
Open the "Create a new project" dialog If the Visual Studio development environment is already open, you can create a new project by choosing File > New > Project on the menu bar. You can also select the New Project button on the toolbar, or press Ctrl+Shift+N.
Yes, the extension politoleo.iar is indeed NOT good.
-> I found a better one (will try it in future by myself):
pluyckx.iar-vsc
Technical Note
Enjoy it !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With