2024-03-22 03:00 AM
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.
2024-03-22 04:31 AM
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.
2024-03-22 06:56 AM - edited 2024-03-25 12:54 AM
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?