2025-06-11 6:49 PM
Hi,
I'm trying to compile an STM32U599VJTX build containing the X-CUBE-NFC6 software pack to talk to an ST25R3916B on our prototype board but cannot get it to compile.
I get the following errors related to "rfal" files:
I believe the platform settings are ok:
Any help on the errors would be greatly appreciated.
STM32CubeIDE version 1.18.1
STM32CubeMX version 6.14.1
STM32Cube MCU Package for STM32U5 Series 1.7.0
X-CUBE-NFC6 version 3.1.0
Solved! Go to Solution.
2025-06-12 2:29 PM
Hi Ulysses,
Thanks for the response, I think you could be right, I applied your suggestion from the link you provided and now everything compiles error free.
Screenshot from your other ticket here in case anybody interested (basically use "#undef DSI" in platform.h. )
2025-06-12 1:44 AM
Hi,
can you share your ioc file?
Rgds
BT
2025-06-12 4:50 AM - edited 2025-06-12 4:50 AM
Hi,
I think the reason is the STM32U599 having a DSI block and its HAL having a "#define DSI something".
Please check this. There was once a very similar request: compile-errors-importing-x-cube-nfc5-package
BR, Ulysses
2025-06-12 1:37 PM
2025-06-12 2:29 PM
Hi Ulysses,
Thanks for the response, I think you could be right, I applied your suggestion from the link you provided and now everything compiles error free.
Screenshot from your other ticket here in case anybody interested (basically use "#undef DSI" in platform.h. )