cancel
Showing results for 
Search instead for 
Did you mean: 

Linking DPC_AverageCurrentCtrl_IAR.a with VS Code and CMake?

simon_12542
Associate III

Hi everyone,

I'm working on a power conversion project using the STEVAL-7BIDIRCB reference design.

The firmware uses a specific static library: DPC_AverageCurrentCtrl_IAR.a. As the name suggests, it was compiled with IAR EWARM. However, I would like to use VS Code and CMake for my development environment instead of the IAR IDE.

A few questions:

Is this specific library compatible with the arm-none-eabi-gcc linker in a CMake setup, or will I face ABI/runtime issues (especially regarding FPU and math functions)?

If I use the IAR Build Tools (compiler/linker) through CMake in VS Code, will it work seamlessly with this .a file?

Is there a GCC version of this library available for the STEVAL-7BIDIRCB, or are the sources available somewhere to recompile it for GCC?

The control loop is obviously critical for this board, so I want to make sure I don't introduce any instability by mixing toolchains.

Thanks for your help!

0 REPLIES 0