Skip to main content
Visitor II
October 17, 2020
Question

Motion MC Library use?

  • October 17, 2020
  • 1 reply
  • 1460 views

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?

    This topic has been closed for replies.

    1 reply

    kvrestoAuthor
    Visitor II
    October 17, 2020

    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