2024-11-26 10:00 AM - last edited on 2024-11-26 10:26 AM by Andrew Neil
I have a Nucleo-H755Zi-Q and a IKS02A1. I am using the X-CUBE-MEMS1 Package. In the configurator, when I select "Board Extension IKS02A1" I get the following error:
#error "Board Pin number not defined!! Add USE_NUCLEO_144 define within stm32h7xx_nucleo_conf.h file"
61 | #error "Board Pin number not defined!! Add USE_NUCLEO_144 define within stm32h7xx_nucleo_conf.h file"
#error "Board Part number not defined!! Add one of the following define within stm32h7xx_nucleo_conf.h file: USE_NUCLEO_H745ZI_Q, USE_NUCLEO_H743ZI, USE_NUCLEO_H743ZI2, USE_NUCLEO_H7A3ZI_Q, USE_NUCLEO_H723ZG"
66 | #error "Board Part number not defined!! Add one of the following define within stm32h7xx_nucleo_conf.h file:\
(Without selecting "Board Extension IKS02A1" I can compile and run the code on the Nucleo-H755ZI-Q).
When I add #define USE_NUCLEO_H745ZI_Q to stm32h7xx_nucleo_conf.h I get the following error:
fatal error: stm32h7xx_nucleo.h: No such file or directory
31 | #include "stm32h7xx_nucleo.h"
What do I need to do to use IKS02A1?
Thank you for any help :)
Reproduction:
2024-11-26 10:27 AM
Does X-CUBE-MEMS1 claim to directly support that board?
2024-11-26 11:01 AM
Hello @justAUser and welcome to the Community,
Try follow this article: How to integrate the X-CUBE-MEMS1 package with you... - STMicroelectronics Community