Created
December 31, 2020 05:38
-
-
Save bgianfo/24a1623953a8d45cd72e918dd80510b3 to your computer and use it in GitHub Desktop.
PolarFire SoC Icicle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tmux new-session -d -s 'polarfire-serial-dashboard' | |
tmux split-window -v | |
tmux split-window -h | |
tmux select-pane -t 0 | |
tmux split-window -h | |
tmux respawn-pane -t0 -k "tio /dev/ttyUSB0" | |
tmux respawn-pane -t1 -k "tio /dev/ttyUSB1" | |
tmux respawn-pane -t2 -k "tio /dev/ttyUSB2" | |
tmux respawn-pane -t3 -k "tio /dev/ttyUSB3" | |
tmux select-layout tiled | |
tmux set -g mouse on | |
tmux attach-session -t 'polarfire-serial-dashboard' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment