Skip to main content
Visitor II
December 21, 2019
Question

Tutorial for importing X-CUBE-MEMS1 MOTIONAR into existing STM32CUBE IDE project

  • December 21, 2019
  • 1 reply
  • 885 views

Is there a tutorial or document that explains how to add the MOTIONAR library to an existing STM32CUBE IDE project? I have tried adding through STM32CUBEMX and also manually adding but I keep running into issues. When I try to manually add I get "failed to merge target specific data of file". My project used the L476, LSM6DSO and I'm using the MotionAR_CM4F_wc32_ot.a library.

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 2, 2020

    Hi @CQuin.1​ , due to the complexity of the X-CUBE-MEMS1 libraries, it's usually better to start from the examples contained in the function pack and customize the code from there, there are some examples for the L476 MCU in \Projects\STM32L476RG-Nucleo folder. However, there are some general tutorial that show you how to include an existing library in a custom (such as the one at this link). Regards

    CQuin.1Author
    Visitor II
    April 2, 2020

    Eleon. Thank you for following up on this and providing the link to the tutorial.