reform

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

commit da7441bc104cf6acab9b617f88bc464026a18cfa
parent 435011ae944e7def120dd12abab6cd02e636da97
Author: Lukas F. Hartmann <lukas@mntre.com>
Date:   Mon, 11 Mar 2024 19:08:56 +0100

trackball2-fw: add firmware download helper; use --force switch for picotool

Diffstat:
Areform2-trackball2-fw/download-fw.sh | 4++++
Mreform2-trackball2-fw/flash.sh | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/reform2-trackball2-fw/download-fw.sh b/reform2-trackball2-fw/download-fw.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +mkdir -p build +wget -O build/reform2-trackball2-fw.uf2 "https://source.mnt.re/reform/reform/-/jobs/artifacts/master/raw/reform2-trackball2-fw/reform2-trackball2-fw.uf2?job=build" diff --git a/reform2-trackball2-fw/flash.sh b/reform2-trackball2-fw/flash.sh @@ -4,7 +4,7 @@ echo "Flash MNT Reform Trackball2 (RP2040):" select yn in "Flash" "Exit"; do case $yn in - Flash ) picotool load build/reform2-trackball2-fw.uf2;; + Flash ) picotool load --force build/reform2-trackball2-fw.uf2;; Exit ) exit;; esac done