cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB5MMG with ST25DV04 NFC

SimoE
Associate II

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.

2 REPLIES 2
STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

SimoE
Associate II

@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?