AnsweredAssumed Answered

Trouble with “P-Nucleo-Azure 1” kit: not able to recogbize expansion board X-NUCLEO-IKS01A2 ("#ifndef IKS01A2"). Has anyone already had such a problem?

Question asked by William Dallari on Feb 22, 2018

Hallo everyone,


I am working with the hardware kit “P-Nucleo-Azure 1” (STM32 Nucleo Pack for IoT node with Wi-Fi, sensors and NFC Connected to Azure cloud) and am having troubles in making it work.


I have imported the available Kile Project into Visual Studio with VisualGDB. Project is build successfully, but apparently the program does not recognize the correct motion board. In the “static void Init_MEM1_Sensors(void)” function, a macro is defined to choose the correct board (“#ifndef IKS01A2”), but this macro seems to not be used anywhere else in the program. Therefore, the program seems to not be able to choose the correct MEMS board.


Has anyone already had this issue?


I am using:

  • Microsoft Visual Studio Community 2017 (version 15.5.7)
  • Visual GDB version 5.3R8 (build 1973)
  • X-Nucleo-IKS01A2 (Motion MEMS and environmental sensor expansion board)
  • NUCLEO-L476RG (Nucleo-64 development board)


Thanks for any help!