RAK4631 FreeRTOS error compilation

Hello,

I try to compil a code that uses FreeRTOS.
I use ARDUINO IDE V 2.0.4 with your Board Package RAKWireless nRF 1.3.2
I have error compilation bellow :

In file included ...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/freertos/portable/GCC/nrf52/portmacro.h:33,
                 from ...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/freertos/Source/include/portable.h:52,
                 from ...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/freertos/Source/include/FreeRTOS.h:62,
                 from ...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/rtos.h:47,
                 from ...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/Arduino.h:48,
                 from customcode\libraries\RadioLib\src/BuildOpt.h:6,
                 from customcode\libraries\RadioLib\src/TypeDef.h:4,
                 from customcode\libraries\RadioLib\src/RadioLib.h:38,
                 from customcode.h:5,
                 from customcode.cpp:1:
customcode.cpp: In static member function 'static void LoraCode::onReceive()':
...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/freertos/portable/CMSIS/nrf52/portmacro_cmsis.h:101:25: error: expected primary-expression before '!=' token
  101 |     if( xSwitchRequired != pdFALSE ) {                \
      |                         ^~
...\Arduino15\packages\rakwireless\hardware\nrf52\1.3.3\cores\nRF5/freertos/portable/CMSIS/nrf52/portmacro_cmsis.h:108:33: note: in expansion of macro 'portEND_SWITCHING_ISR'
  108 | #define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
...customcode.cpp:224:9: note: in expansion of macro 'portYIELD_FROM_ISR'
  224 |         portYIELD_FROM_ISR();
      |         ^~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: exit status 1

I don’t understand why?
Please, do you have an idea?

You are trying to use RadioLib?

Seems the code causing the problem is inside the RadioLib. You might ask them for the problem.

When using the SX126x-Arduino library for LoRa P2P I don’t see any problems.

Thanks, I just asked them. I will close the ticket with I hope an answer.