Skip to main content
Associate II
March 22, 2024
Question

STM32WB5MMG with ST25DV04 NFC

  • March 22, 2024
  • 2 replies
  • 1023 views

We want to use the X-cube-NFC4 3.0.0 library for programming the STM32WB5MMG with the ST25DV04 NFC tag. We included:

Board Part NFC (NFC4 / ST25DV)

Wireless lib_nfc with core and Interface (Template)

Board Support STM32Cube_Custom_BSP_Drivers (Custom / NFCTAG)

Mode is selected ( Board Part NFC and Wireless lib nfc the Board Support STM32Cube Custom BSP Drivers is not enabled because we have the TSSOP-8 case of the chip. So this is not supported.

 

In first compile the error happen

C:/_work/_CubeIDE/Repository/Packs/STMicroelectronics/X-CUBE-NFC4/3.0.0/Middlewares/ST/lib_nfc/lib_NDEF/Core/inc/lib_wrapper.h:26:10: fatal error: common.h: No such file or directory

26 | #include "common.h"

How can I fix this error.

This topic has been closed for replies.

2 replies

STTwo-32
Technical Moderator
March 22, 2024

Hello @SimoE 

You need to check your Path configurations and add a Path to the file that contain the common.h file.

Best Regards.

STTwo-32

SimoEAuthor
Associate II
March 22, 2024

@STTwo-32 

Problem is in the X-Cube-NFC4 isn't any file named common.h for this. In example projects are a common.h  but it is never the same file. In attachement my Pack of X-Cube-NFC3 3.0.0

Is this file common.h normally in the path and generated from CubeMX or is this a file witch should be written by the user self?