MQX shell running over USB virtual Comm using USB API

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

MQX shell running over USB virtual Comm using USB API

ソリューションへジャンプ
873件の閲覧回数
MarkW_
Contributor I

I am new to both the Kinetis series as well as MQX, so forgive me if I have missed something obvious.  I would like to run the command shell over the USB and it seems very probable that there is a demo for that, but I can't find it.  Plenty of demos using USB to echo a single character but oddly those don't use the USB library from MQX nor do they provide useful functionality.  What am I missing?  Is there a trivial way to denote USB Device (virtual Comm) as the default I/O?

 

Thanks

 

0 件の賞賛
返信
1 解決策
542件の閲覧回数
c0170
Senior Contributor III

Hi Mark W.

 

we still don't support POSIX wrapper for USB CDC device. For that reason the stdout can not be redirected to the USB CDC device's POSIX API.

However, we support POSIX drivers for USB CDC host functionallity: all attached CDC devices behave like POSIX instances, therefore the stdout can be redirected to any of them.

 

Regards,

MartinK

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
543件の閲覧回数
c0170
Senior Contributor III

Hi Mark W.

 

we still don't support POSIX wrapper for USB CDC device. For that reason the stdout can not be redirected to the USB CDC device's POSIX API.

However, we support POSIX drivers for USB CDC host functionallity: all attached CDC devices behave like POSIX instances, therefore the stdout can be redirected to any of them.

 

Regards,

MartinK

0 件の賞賛
返信
542件の閲覧回数
Teckna
Contributor V

Is there any plan to support POSIX wrapper for USB CDC device in the next MQX release?

 

Many thanks

Teckna

0 件の賞賛
返信