Skip to main content
Associate
June 12, 2025
Solved

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

  • June 12, 2025
  • 2 replies
  • 425 views

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

 

Best answer by keeftn

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

 

2 replies

Brian TIDAL
Technical Moderator
June 12, 2025

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
June 12, 2025

Hi Brian,

Please see attached.

Regards.

Ulysses HERNIOSUS
Technical Moderator
June 12, 2025

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
June 12, 2025

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