cancel
Showing results for 
Search instead for 
Did you mean: 

Build and debug code on STMCUBE IDE using IAR tool chain as compiler

curiocity
Visitor

Hi ,

I have IAR license and I want to build the code on CubeIDE but use the IAR compiler is there any simple method for eg IAR plugin or anything else

4 REPLIES 4
Andrew Neil
Super User

If you've paid for an IAR licence, why not just use the IAR IDE?

 

Anyhow, if you go to Window > Preferences, there is 'Toolchain Manager':

AndrewNeil_0-1747997686083.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi andrew ,

Thanks for your reply 

I believe the Tool Manager can't be used with the IAR compiler because it is designed for GNU-style compilers that have standard command-line interfaces. Could you please confirm if this understanding is correct?

I don't know.

If I had to use the IAR compiler, I would just use it from IAR's IDE.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Pavel A.
Super User

IAR toolchain can be used with VS Code. Their support will be happy to point you to the documentation.

https://www.iar.com/embedded-development-tools/iar-visual-studio-code-extension