cancel
Showing results for 
Search instead for 
Did you mean: 

Motion MC Library use?

kvresto
Senior

Hi everyone, It seems I'm always coming across this issue in one form or another. I want to link in the 

"libPDMFilter_CM4_GCC_wc32.a" St Motion Library, and I'm entering the library name and path in the linker/Libraries section.

I have included an image. 

This method has worked in the past on an audio project using AC6.

when I try to enter the library name and path using STM32CubeIDE it fails. 

I have tried these entries:

:libPDMFilter_CM4_GCC_wc32.a

"${ProjDirPath}/Middlewares/ST/STM32_MotionMC_Library/Lib"

"${workspace_loc:/${ProjName}/Middlewares/ST/STM32_MotionMC_Library/Lib}"

Can anyone shed some light on what I'm doing wrong?

1 REPLY 1
kvresto
Senior

EDIT:

I made an error, its the "MotionMC_CM4F_wc32_ot.a" library I'm trying to link in.

I've tried several combinations, but they all fail. These are all the combinations I have used.

"${ProjDirPath}\Middlewares\ST\STM32_MotionMC_Library\Lib"

"${ProjDirPath}/Middlewares/ST/STM32_MotionMC_Library/Lib"

"${workspace_loc:/${ProjName}/Middlewares/ST/STM32_MotionMC_Library/Lib}"

"${workspace_loc:\${ProjName}\Middlewares\ST\STM32_MotionMC_Library\Lib}"

"F:\emb\ARM\ST\CubeIde\L4\L476\IMU\MagCal\MotionMagCal\Middlewares\ST\STM32_MotionMC_Library\Lib"

"F:\emb/ARM/ST/CubeIde/L4/L476/IMU/MagCal/MotionMagCal/Middlewares/ST/STM32_MotionMC_Library/Lib"

The library exists, and in the directory shown?

Thanks