Shell examples with terminal I/o instead of pemicro

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

Shell examples with terminal I/o instead of pemicro

ソリューションへジャンプ
1,177件の閲覧回数
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, which I did.

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. I think that the shell library has been prebuilt and includes its own version of fio.h. Even when I changed user_config.h and did the rebuilding of MQX didn't help.

How can I force them to approach the terminal I/o too?

Thanks

0 件の賞賛
返信
1 解決策
822件の閲覧回数
ronysha
Contributor II

I sorted it out.

The shell has to be rebuilt with those changes to have any effect.

It is working fine now.

Thanks

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
823件の閲覧回数
ronysha
Contributor II

I sorted it out.

The shell has to be rebuilt with those changes to have any effect.

It is working fine now.

Thanks

0 件の賞賛
返信