From 49cead9636c39ce36cb888131a8a5a6204efacc0 Mon Sep 17 00:00:00 2001 From: John Poole Date: Fri, 22 May 2026 16:41:10 -0700 Subject: [PATCH] the Pi builds work, ready for release --- tools/deploy_zero_pi.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tools/deploy_zero_pi.sh diff --git a/tools/deploy_zero_pi.sh b/tools/deploy_zero_pi.sh new file mode 100644 index 0000000..7bee15d --- /dev/null +++ b/tools/deploy_zero_pi.sh @@ -0,0 +1,23 @@ +#!/usr/bin/bash +# +# script to facilitate steps after compiling Pi Zero releases +# To be run from zerodev1 +# Note: zerodev1 needs to be in a Rpi4B as compiling on Pi Zero +# probably will cause the unit to hang. Can't say for sure that +# a Pi Zero cannot, but after several minutes of no activity, +# I deemed the unit hung... but it may have been struggling +# with managing memory +# + +cp exercises/306_microReticulum_ble_file_transfer_oled/.pio/build/pi_zero_2_dual/program ~/childrens_hour +cp exercises/306_microReticulum_ble_file_transfer_oled/.pio/build/pi_zero_1_dual/program ~/little_boy_blue + +cd +# +# This changes a 9.1 MB file to 659k, but the environment +# must have all the dependencies! +# +strip --strip-unneeded little_boy_blue +strip --strip-unneeded childrens_hour + +scp little_boy_blue childrens_hour @zerodev2:~