cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with X-CUBE-MEMS1 and STM32CubeMX integration

Alex Angulo
Associate II

Hi, I am following the guide "Getting started with the STMicroelectronics X-CUBE-MEMS1 software package for STM32CubeMX" to try the example "DataLog" with the X-NUCLEO-IKS01A2 and the NUCLEO-L4R5ZI-P. I am using a MacBook Pro with STMCubeMX 4.26.1 and the SW4STM32 for this purpose and I am not able to correct run the examples because I have some compile issues with the code:

1. In the app_mems-library.c file there is an #include "stm32l4_nucleo_l4r5zi.h" that couldn't be resolved and therefore the compilation is not done, someone knows why this is happening or where can I found this file?

2. In the IKS01A2 middleware component, I also found that there is a file named iks01a2_conf_template.h that needs to be configured for the code to run correctly but it is not mentioned anywhere and I found it after some time of research. Could someone explain to me why this is happening? Why is so confused just to run a simple example?

Thank you, 

Alex 🙂

0 REPLIES 0