We did not check the feature of "Redirect printf/scanf to ITM" when we created this MCUXpresso project. Is there a way to enable this feature by modifying the IDE or some project setting file?
Thanks!
解決済! 解決策の投稿を見る。
Hello HAIZHOU LI ,
Your project is based on SDK ? If yes, you can try to add the file of "retarget_itm.c" .
it under MCUXpresso IDE install path: MCUXpressoIDE_10.1.0_589\ide\Examples\Misc
About the How to use ITM Printf, please have a look at "MCUXpresso_IDE_User_Guide.pdf"-> 13.5.7 How to use ITM Printf
Hope it helps
Alice
It works! Thanks!
Hello HAIZHOU LI ,
Your project is based on SDK ? If yes, you can try to add the file of "retarget_itm.c" .
it under MCUXpresso IDE install path: MCUXpressoIDE_10.1.0_589\ide\Examples\Misc
About the How to use ITM Printf, please have a look at "MCUXpresso_IDE_User_Guide.pdf"-> 13.5.7 How to use ITM Printf
Hope it helps
Alice