cancel
Showing results for 
Search instead for 
Did you mean: 

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

CQuin.1
Associate II

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.

2 REPLIES 2
Eleon BORLINI
ST Employee

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

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