SDK_2.7.0_EVK-MIMX8MM: Compilation issue with DEBUG_CONSOLE_TRANSFER_NON_BLOCKING

cancel
Showing results for 
Search instead for 
Did you mean: 

SDK_2.7.0_EVK-MIMX8MM: Compilation issue with DEBUG_CONSOLE_TRANSFER_NON_BLOCKING

158 Views
olivier_riff
Contributor I

Hello, 

I am facing a compilation issue with SDK_2.7.0_EVK-MIMX8MM when trying to use non blocking console (DEBUG_CONSOLE_TRANSFER_NON_BLOCKING and FSL_RTOS_FREE_RTOS set in compiler options).

 

status = UART_GetStatusFlag(s_UartAdapterBase[instance]);
^
"C:\Projects\NewControllerPlatform\RPMSG_IMX_KNX_TP\component\uart\iuart_adapter.c",165 Error[Pe165]: too few arguments in function call

Indeed, the function UART_GetStatusFlag requires a flag identifier as 2nd argument which is here missing.

Can someone knows how to fix this ? and more generaly if someone has already successfully tested the debug console in non blocking mode with free rtos ?

Thanks,

Olivier

0 Kudos
1 Reply

83 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Olivier,

This seems to be a bug in SDK. It has been escalated to our experts so that it can be fixed.

  You can change that line from:

status = UART_GetStatusFlag(s_UartAdapterBase[instance]);

  to:

status = UART_GetStatusFlag(s_UartAdapterBase[instance], UART_USR1_RRDY_MASK | UART_USR1_TRDY_MASK);

Thanks for pointing it out!

Regards,

0 Kudos