mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-24 15:38:22 +00:00
feat(tools): add socat
-based helper script to read debug log via TTY
[no changelog]
This commit is contained in:
parent
4aadfa1f4f
commit
bad8a845e2
3
tools/read-device-log.sh
Executable file
3
tools/read-device-log.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
DEVICE=${1:-/dev/ttyACM0}
|
||||
socat -u $DEVICE,rawer - | ts "[%b %d %H:%M:%.S]"
|
Loading…
Reference in New Issue
Block a user