23 lines
823 B
Bash
23 lines
823 B
Bash
#!/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:~
|