Using shell examples with terminal I/o

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

Using shell examples with terminal I/o

ソリューションへジャンプ
1,072件の閲覧回数
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 解決策
743件の閲覧回数
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 返信
744件の閲覧回数
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 件の賞賛
返信