Skip to main content
Visitor II
November 10, 2020
Solved

MotionFX library with my custom board

  • November 10, 2020
  • 3 replies
  • 1320 views

I would like to use the MotionFX library with my custom board. My MCU is a STM32F303RE

(Cortex-M4) so I included the MotionFX_CM4F_wc32_ot.a library. The project starts but does not continue after MotionFX_initialize().

I am not getting any error... any recommendations what could be wrong?

I have tried to increase the heap size to 0x1000 and the stack size 0x8000.

I have also activated CRC in CubeMX. The MotionFX init()  starts after the CRC init(), but I still get a HardFault_Handler

    This topic has been closed for replies.
    Best answer by JSido

    It is now working, I had to include the MotionFX_CM3F_wc16_ot.a

    What is the difference between MotionFX_CM3F_wc16_ot.a and MotionFX_CM3F_wc32_ot.a ?

    Regards

    3 replies

    ST Employee
    November 11, 2020

    Hello, can you please share your project?

    JSidoAuthorAnswer
    Visitor II
    November 11, 2020

    It is now working, I had to include the MotionFX_CM3F_wc16_ot.a

    What is the difference between MotionFX_CM3F_wc16_ot.a and MotionFX_CM3F_wc32_ot.a ?

    Regards

    ST Employee
    November 12, 2020

    wc16 ... wchar variables have 16bits length ... used mainly in Keil uVision and IAR EWARM 7.8 and older

    wc32 ... wchar variables have 32bits length ... used by default in STM32CubeIDE (GCC compiler) and in IAR EWARM 8.x