Skip to content

Instantly share code, notes, and snippets.

@MichaelBell
MichaelBell / pico_reload.sh
Last active February 4, 2021 22:58
Pico UF2 reload script
#!/bin/bash
# First interrupt pico and run make
[ ! -c /dev/ttyACM0 ] || stty -F /dev/ttyACM0 1200 || exit
make || exit
echo
# Find file to program
UF2_FILE=$1