This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

stm32 cubemx generated code fail to build in Keil

I am using the tool STM32cubemx to generate the code for STM32F769 based evaluation board.
The cubemx creates a Keil-MDX project for the code. When the code is built in Keil,
it throws many instances of linker error as below:

L6654E: Rejected Local symbol .text11 referred to from non group member Container.o(.iar.stackusage)

What does the error mean? How this could be fixed?

The Keil version is V5.24.2.0 and arm compiler version 5.

The cubemx is v 5.0.0

Parents

  • "What does the error mean?"
    Have you looked for information in the documentaion ?
    infocenter.arm.com/.../index.jsp

    I have looked at the documentation and this is I what I find for the L6554E error code:


    L6654E
    Rejected Local symbol <symname> is referred to from a non group section <nongrpname> in object <objname>
    If either L6651E, L6652E, or L6654E are reported, this might indicate a compiler fault. Contact your supplier.

    So documentation just says, the error is due to a compiler fault! And not much further details are given to get a direction for further debugging on the issue.

    And regarding the IAR possibility, I am not using IAR workbench.

    And for generating the code, I have set the tool chain as MDK-ARM V5 in ST CubeMX.

Reply

  • "What does the error mean?"
    Have you looked for information in the documentaion ?
    infocenter.arm.com/.../index.jsp

    I have looked at the documentation and this is I what I find for the L6554E error code:


    L6654E
    Rejected Local symbol <symname> is referred to from a non group section <nongrpname> in object <objname>
    If either L6651E, L6652E, or L6654E are reported, this might indicate a compiler fault. Contact your supplier.

    So documentation just says, the error is due to a compiler fault! And not much further details are given to get a direction for further debugging on the issue.

    And regarding the IAR possibility, I am not using IAR workbench.

    And for generating the code, I have set the tool chain as MDK-ARM V5 in ST CubeMX.

Children