cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-MEMS1 Error: Board Part Number not defined

justAUser
Visitor

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:

  1. Create a new Project for the Nucleo-H755Zi-Q
  2. In the Configuration go to Software Packs->Select Components
  3. Go to STMicroeletronicsX-CUBE-MEMS1 and select Board Extension IKS02A1. Close this window
  4. Configure a I2C under Connectivity
  5. Go to Middleware and Software Packs -> X-CUBE-MEMS1 -> Select Board Extension IKS02A1
2 REPLIES 2

Does X-CUBE-MEMS1 claim to directly support that board?

Imen.D
ST Employee

Hello @justAUser and welcome to the Community,

Try follow this article: How to integrate the X-CUBE-MEMS1 package with you... - STMicroelectronics Community

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen