diff options
| author | Zoltan Szabatin <[email protected]> | 2025-02-25 16:12:49 -0800 |
|---|---|---|
| committer | Zoltan Szabatin <[email protected]> | 2025-02-25 16:12:49 -0800 |
| commit | bdcc991a5a3bec5e136be97b14de8e51939f3652 (patch) | |
| tree | 9433cf8c24a447d88ec19077c4a2966ef511783c /justfile | |
| parent | feat: Add Pygame menu (diff) | |
| download | splitscreen-duo-bdcc991a5a3bec5e136be97b14de8e51939f3652.tar.xz splitscreen-duo-bdcc991a5a3bec5e136be97b14de8e51939f3652.zip | |
feat: Add serial interface
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,12 +1,14 @@ default: just --list -create_serial_port: - socat -d -d pty,raw,echo=0 pty,raw,echo=0 & +create_serial_devices: + socat -d -d pty,raw,echo=0,link=/tmp/primary-serial pty,raw,echo=0,link=/tmp/secondary-serial &> /dev/null & -kill_serial_port: +kill_serial_devices: pkill socat run: - DEVELOPMENT=1 INSTANCE=primary rye run splitscreen_duo & - DEVELOPMENT=1 INSTANCE=secondary rye run splitscreen_duo & + just create_serial_devices + SERIAL_DEVICE=/tmp/primary-serial DEVELOPMENT=1 INSTANCE=primary rye run splitscreen_duo & + SERIAL_DEVICE=/tmp/secondary-serial DEVELOPMENT=1 INSTANCE=secondary rye run splitscreen_duo + just kill_serial_devices |