cancel
Showing results for 
Search instead for 
Did you mean: 

I have problem with IKS01A2_LPS22HB_FIFOMode application generated by CubeMX. There are things in the code that i have to change.

CD.1
Associate

I've generated project for SW4STM32 and i don't know that to do with iks01a2_conf_template.h file. Im supposed to replace the header file names with the ones of the target platform and rename the file to iks01a2_conf. There are 3 headers:

#include "stm32yyxx_hal.h"
#include "nucleo_xyyyzz_bus.h"
#include "nucleo_xyyyzz_errno.h"

I changed first one to "stm32f1xx_hal.h", but I don't know what to do with rest of them. I've tried several names but none of them were found. What are the header files i'm supposed to use there? My hardware is: STM32F103RB and X-NUCLEO-IKS01A2.

1 REPLY 1
Miroslav BATEK
ST Employee

Hello, could you please share which version of the STM32CubeMX and X-CUBE-MEMS1 package you use?

Do you use NUCLEO-F103RB board or your own hardware with MCU, if you use the NUCLEO-F103RB did you select this board when you start the project?