MQX 4.2 sscanf support for llu or lld (unsigned long long or long long)

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

MQX 4.2 sscanf support for llu or lld (unsigned long long or long long)

752件の閲覧回数
matlock
Contributor II

Back when MQX 3.8 was released, support for 64-bit numbers (llu and lld) was added for printf and scanf. Can we get a patch to support 64-bit for sscanf?

0 件の賞賛
2 返答(返信)

494件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Aaron,

MQX supports printf and scanf for 64-bit numbers and %L modifier.

If you have some problem please try increasing the stack size of the task.

I hope this helps, have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

494件の閲覧回数
matlock
Contributor II

Sol,

You apparently didn't read what was written. It is understood that printf and scanf have support for 64-bit values and was mentioned in the very shorty original post. What was asked and is requested is that sscanf have supported added for 64-bit values as a patch. I know it's unsupported for sscanf and can be easily traced in the MQX code to determine such. Suggesting to increase the size a task stack is useless.

Regards,

-Aaron

0 件の賞賛