Skip to main content
Associate
June 19, 2026
Question

IAR to CUBE IDE migration

  • June 19, 2026
  • 2 replies
  • 52 views

Hi, Can I Migrate a project from IAR to Cube IDE, It also Has third party Libraries Like, Threadx.

2 replies

mƎALLEm
ST Technical Moderator
June 19, 2026

Hello ​@Embeddtron and welcome to the ST community,

It’s feasible but that depends on the complexity of your project/libraries available. Need also to convert some “key words” from  IAR to CubeIDE, pargma’s etc. linker files... 

Did you start the project using CubeMx? if yes that at least help you migrating your STM32 configs.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate
June 19, 2026

in IAR project, its a little bit Old code with Embed Thredx OS(Old version of Azure RTOS ) and Some other UML state machine Generated library, I can See a STM IOC file, in that Project , I have used that IOC file to Generate the code in CUBE IDE, But I can See a .s File in Embedded THREADX of IAR project, IS there any Proper Migration steps you can Suggest here

mƎALLEm
ST Technical Moderator
June 19, 2026

You didn’t tell if you started with CubeMx or not.

To me start from scratch with CubeMx and start step by step by adding ThreadX and other stuff. There is no obvious and clear steps to give.. You would face issues during the migration and solve them step by step.. Start by an optimization -O0. Debug at each step.

After a full migration you need to do a full test and play with the optimization do detect post-migration issues .

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
June 19, 2026

Of course it’s possible!

They are both IDEs for embedded C projects.

As ​@mƎALLEm said, you’ll just need to translate any IAR-specific things to their CubeIDE (ie, Eclipse + GCC) equivalents.

 

If your code is well-written, any specific compiler dependencies should be well isolated and, thus, easy to identify & change.

If that’s not the case, then I would suggest that you start by making it so.

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.