cancel
Showing results for 
Search instead for 
Did you mean: 

Generated elf file version two high that stm studio not support?

yansli
Associate II

yansli_0-1711860381574.png

It seems that stm32cubeide generated elf file not support in many application. So is there any way to solve this issue? 

4 REPLIES 4
Souhaib MAZHOUD
ST Employee

Hello @yansli 

For further investigation about your issue, could you please provide more information about the CubeIDE version, Toolchain and the OS you are using.

Thank you,

Souhaib

Hi Souhaib

The CubeIDE version is 1.15.0 but 1.14.0 seems have the same problem.

yansli_0-1712107417705.png

The toolchain is default. I try to append a c-flag '-gdwarf-2' but still not working.

yansli_1-1712107535718.png

The operation system is win10

yansil

 

Souhaib MAZHOUD
ST Employee

Hello @yansli 

It seems that the issue is related to the upgrade to GCC 11,
I suggest that you use the GNU Tools for STM32 (10.3-2021.10)

Thnx,

Souhaib

Hi Souhaib

The previous version like version 1.7.0 is still working. But many application still not support elf 5. So the next generation will fix this issue?

Thanks

yansli