This adds a very simple serial terminal the smpmgr. Known issues would include that it does not buffer ANSI escapes, so if it flushes to the shell it's running in before the sequence has completed the ANSI escape will not be parsed correctly. It also seems to hang until you hit enter when the device is unplugged, for example. And I've only tested from Windows.
The idea is so that users don't have to switch apps for devices that need serial comms to enter the bootloader:
smpmgr --port COM1 terminal
# now in the devices Zephyr shell do
bootloader reboot
smpmgr --port COM1 os echo hello
smpmgr --port COM1 os reset
This adds a very simple serial terminal the smpmgr. Known issues would include that it does not buffer ANSI escapes, so if it flushes to the shell it's running in before the sequence has completed the ANSI escape will not be parsed correctly. It also seems to hang until you hit enter when the device is unplugged, for example. And I've only tested from Windows.
The idea is so that users don't have to switch apps for devices that need serial comms to enter the bootloader: