On 17-05-2020 22:36, Benjamin Valentin wrote:
> On Sat, 16 May 2020 22:49:54 +0200
> Kees Bakker <k...@ijzerbout.nl> wrote:
>
>> I'm looking for a program that can automatically reconnect to the
>> USB serial after the RIOT board does a restart. So far I only found
>> that minicom will do that, but not automatically.
> pyterm [1] will do that. It's the default when you run
>
>     make term
>
> in RIOT's build system.
> It will output to the console and keep logs in ~/.pyterm, so it's
> pretty handy.
>
> [1] https://github.com/RIOT-OS/RIOT/tree/master/dist/tools/pyterm
>
Wow, I never knew it was there. Great. It even has timing. Impressive.

Minor twit. It's missing the first 45 characters or so.

2020-05-18 20:41:02,547 # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2020-05-18 20:41:03,550 # -602-g39227-add-sodaq-sff)
2020-05-18 20:41:03,551 # Hello World!
2020-05-18 20:41:03,552 # You are running RIOT on a(n) sodaq-sara-sff board.
2020-05-18 20:41:03,553 # This board features a(n) samd21 MCU.
2020-05-18 20:46:06,269 # Serial port disconnected, waiting to get
reconnected...
2020-05-18 20:46:07,276 # Serial port disconnected, waiting to get
reconnected...
2020-05-18 20:46:08,277 # Try to reconnect to /dev/ttyACM0 again...
2020-05-18 20:46:08,278 # Reconnected to serial port /dev/ttyACM0
2020-05-18 20:46:08,279 # -602-g39227-add-sodaq-sff)
2020-05-18 20:46:08,280 # Hello World!
2020-05-18 20:46:08,281 # You are running RIOT on a(n) sodaq-sara-sff board.
2020-05-18 20:46:08,281 # This board features a(n) samd21 MCU.

Even so, I'm quite happy.
-- 
Kees
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to