1
0
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:
Roman Zeyde 2025-06-27 19:47:05 +03:00
parent 4aadfa1f4f
commit bad8a845e2

3
tools/read-device-log.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
DEVICE=${1:-/dev/ttyACM0}
socat -u $DEVICE,rawer - | ts "[%b %d %H:%M:%.S]"