Skip to main content
Visitor II
March 31, 2024
Question

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

  • March 31, 2024
  • 2 replies
  • 2163 views

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? 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    April 2, 2024

    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

    yansliAuthor
    Visitor II
    April 3, 2024

    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

     

    Technical Moderator
    April 5, 2024

    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

    yansliAuthor
    Visitor II
    April 7, 2024

    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