Serial console via USB

This commit is contained in:
2023-05-02 17:49:27 +02:00
parent f789ee615f
commit 5a9b741354
2 changed files with 15 additions and 1 deletions

View File

@@ -29,3 +29,8 @@ alias reload='source ~/.termrc'
alias ssj="ssh -J pi@bst1.chenco.dev"
#alias mc-install-plugin='echo "Installing $2"; echo "Done !"'
sm() {
tmux new-window -n serial:$(basename ${@:-1}) sudo picocom --baud 921600 --parity n --databits 8 --stopbits 1 --flow n --escape z $@
}