the Pi builds work, ready for release
This commit is contained in:
parent
6717b56ffb
commit
49cead9636
1 changed files with 23 additions and 0 deletions
23
tools/deploy_zero_pi.sh
Normal file
23
tools/deploy_zero_pi.sh
Normal file
|
|
@ -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:~
|
||||
Loading…
Add table
Add a link
Reference in a new issue