Using shell examples with terminal I/o

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Using shell examples with terminal I/o

跳至解决方案
1,092 次查看
ronysha
Contributor II

I am using IAR. In order to use the terminal I/o of the tool instead of external terminal e.g.. pemicro I have to do some settings.

I am able to  force the printf and gets functions to use the terminal I/O (by commenting the #define printf of fio.h).

But shell.c printf and similar commands still try to access the uart. How can I force them to approach the terminal I/o too?

Thanks

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
763 次查看
c0170
Senior Contributor III

hi ronysha,

 

there is IODEBUG feature in MQX 3.8 which uses ide terminal. If it is enabled in user_config.h and board.h selected as default, everything is printed to the i/o terminal.

 

Regards,

MartinK

在原帖中查看解决方案

0 项奖励
回复
1 回复
764 次查看
c0170
Senior Contributor III

hi ronysha,

 

there is IODEBUG feature in MQX 3.8 which uses ide terminal. If it is enabled in user_config.h and board.h selected as default, everything is printed to the i/o terminal.

 

Regards,

MartinK

0 项奖励
回复