reform

MNT Reform: Open Source Portable Computer
Log (Feed) | Files | Refs (Tags) | README

commit 3d68e86ddcdc3ac73b7b0c2b7a60677497b2a1de
parent a04bdb1252277e5595152afac58ca63622c2e8f7
Author: Lukas F. Hartmann <lukas@mntre.com>
Date:   Tue, 16 May 2023 18:22:51 +0200

trackball2 flash tool: make interactive loop

Diffstat:
Mreform2-trackball2-fw/flash.sh | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/reform2-trackball2-fw/flash.sh b/reform2-trackball2-fw/flash.sh @@ -1,4 +1,11 @@ #!/bin/bash -picotool load build/reform2-trackball2-fw.uf2 +echo "Flash MNT Reform Trackball2 (RP2040):" + +select yn in "Flash" "Exit"; do + case $yn in + Flash ) picotool load build/reform2-trackball2-fw.uf2;; + Exit ) exit;; + esac +done