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
已解决! 转到解答。
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
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