Sharing a Zephyr Shell with multiple peripherals or create new Shell instance?


BDesterBEC
 

Hello,

I am attempting to interface two UART devices with a Nucleo H743ZI so that they have access in some way or another to the Zephyr shell and their own custom commands. Currently, one of them has been assigned to the chosen node's zephyr,shell-uart property. It has been proposed that it may be possible for both devices to share the same shell, but I am unsure how to do this or if it is actually possible. I have been successful in creating an additional shell instance with its own thread, however going down that route I am unsure how to assign commands to it as the macros do not allow for specification of a shell instance.

If you have any insight into this please respond and it will be greatly appreciated.
Thanks,
Brandon

Join users@lists.zephyrproject.org to automatically receive all group messages.