Skip to main content
Associate
Jun 12, 2025 1:49 AM UTC
Solved

X-CUBE-NRF6 compile issues with STM32U599 - rfal issues

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:

 

keeftn_0-1749692189819.png

 

I believe the platform settings are ok:

keeftn_1-1749692339441.png

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

 

This topic has been closed for replies.
keeftnBest answer
Associate
Jun 12, 2025 9:29 PM UTC

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. )

keeftn_0-1749763712426.png

 

4 replies

Brian TIDAL
ST Technical Moderator
Jun 12, 2025 8:44 AM UTC

Hi,

can you share your ioc file?

Rgds

BT

In order 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.
keeftnAuthor
Associate
Jun 12, 2025 8:37 PM UTC

Hi Brian,

Please see attached.

Regards.

Ulysses HERNIOSUS
ST Technical Moderator
Jun 12, 2025 11:50 AM UTC

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

keeftnAuthorBest answer
Associate
Jun 12, 2025 9:29 PM UTC

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. )

keeftn_0-1749763712426.png