I encountered some problems when migrating MicroPython 1.12 version to RTOS (RT-Thread), https://github.com/RT-Thread-packages/m ... n/pull/150
and now the problem is that if there are more than ten characters, print cannot output a string, As shown below:

This problem has not been encountered in previous migrations, such as before 1.10.
I have spent a day studying this issue, but with no results.
I probably know that after compiling, the length of the print string object is wrong and becomes 0, so this problem is caused.
Because I upgraded all the files in the py directory, I think this problem may be caused by a configuration error. I hope someone familiar with version 1.12 can give me some tips to solve the problem, thank you very much.