deploy.sh: serve pm-grid.uf2 (Pico Scroll Pack firmware)
Mirror the pm-kit.uf2 block — copy rust/pm-grid/pm-grid.uf2 to the web root if built, so it downloads from metronome.varasys.io/pm-grid.uf2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
604927f53a
commit
86cd4a0242
1 changed files with 6 additions and 0 deletions
|
|
@ -59,6 +59,12 @@ if [[ -f "$SRC_DIR/rust/pm-kit/pm-kit.elf" ]]; then
|
|||
cp "$SRC_DIR/rust/pm-kit/pm-kit.elf" "$DEST_DIR/pm-kit.elf"
|
||||
echo " pm-kit.elf ($(stat -c '%s' "$DEST_DIR/pm-kit.elf") bytes) # probe-rs flash + defmt RTT logging"
|
||||
fi
|
||||
# Rust firmware (RP2040 / Pico Scroll Pack) — served if built via rust/pm-grid/build.sh (gitignored).
|
||||
# BOOTSEL-drag pm-grid.uf2 onto the RPI-RP2 drive to flash the PM_G-1 Grid LED metronome.
|
||||
if [[ -f "$SRC_DIR/rust/pm-grid/pm-grid.uf2" ]]; then
|
||||
cp "$SRC_DIR/rust/pm-grid/pm-grid.uf2" "$DEST_DIR/pm-grid.uf2"
|
||||
echo " pm-grid.uf2 ($(stat -c '%s' "$DEST_DIR/pm-grid.uf2") bytes) # Rust RP2040 firmware (LED-first alpha)"
|
||||
fi
|
||||
cp "$DIST_DIR/pm_k1_circuitpy.zip" "$DEST_DIR/pm_k1_circuitpy.zip"; echo " pm_k1_circuitpy.zip ($(stat -c '%s' "$DEST_DIR/pm_k1_circuitpy.zip") bytes)" # PM_K-1 CircuitPython bundle
|
||||
cp "$DIST_DIR/pico-cp-app.py" "$DEST_DIR/pico-cp-app.py"; echo " pico-cp-app.py ($(stat -c '%s' "$DEST_DIR/pico-cp-app.py") bytes)" # served for version reading + reference
|
||||
cp "$DIST_DIR/pico-cp-app.mpy" "$DEST_DIR/pico-cp-app.mpy"; echo " pico-cp-app.mpy ($(stat -c '%s' "$DEST_DIR/pico-cp-app.mpy") bytes)" # precompiled firmware the editor pushes (base64)
|
||||
|
|
|
|||
Loading…
Reference in a new issue