cancel
Showing results for 
Search instead for 
Did you mean: 

MotionFX library with my custom board

JSido
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
JSido
Associate II

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

View solution in original post

3 REPLIES 3
Miroslav BATEK
ST Employee

Hello, can you please share your project?

JSido
Associate II

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

Miroslav BATEK
ST Employee

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