SDK_2.7.0_EVK-MIMX8MM: Compilation issue with DEBUG_CONSOLE_TRANSFER_NON_BLOCKING

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SDK_2.7.0_EVK-MIMX8MM: Compilation issue with DEBUG_CONSOLE_TRANSFER_NON_BLOCKING

1,071件の閲覧回数
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 件の賞賛
返信
1 返信

996件の閲覧回数
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 件の賞賛
返信