Current deploy state - may simplify

This commit is contained in:
Danny Staple 2022-07-10 15:48:46 +01:00
parent 4962501918
commit e6d4847196
11 changed files with 36 additions and 31 deletions

View File

@ -1,5 +0,0 @@
.deploy/send-it.sh \
ch-10/1-follow/follow.py \
ch-10/1-follow/robot.py \
ch-10/1-follow/pio_encoder.py \
ch-10/1-follow/pid.py

View File

@ -1,5 +0,0 @@
.deploy/send-it.sh \
ch-10/2-graphing/graphing_follow.py \
ch-10/2-graphing/robot.py \
ch-10/2-graphing/pio_encoder.py \
ch-10/2-graphing/pid.py

View File

@ -1,5 +0,0 @@
.deploy/send-it.sh \
ch-10/3-wall-follow/wall_follow.py \
ch-10/3-wall-follow/robot.py \
ch-10/3-wall-follow/pio_encoder.py \
ch-10/3-wall-follow/pid.py

View File

@ -0,0 +1,4 @@
.deploy/send-it.sh \
ch-11/1-encoder-speed/encoder_speed.py \
ch-11/1-encoder-speed/robot.py \
ch-11/1-encoder-speed/pio_encoder.py

View File

@ -0,0 +1,6 @@
.deploy/send-it.sh \
ch-11/2-straight-line-speed/speed_control.py \
ch-11/2-straight-line-speed/robot.py \
ch-11/2-straight-line-speed/pio_encoder.py \
ch-11/2-straight-line-speed/pid.py \
ch-11/2-straight-line-speed/robot_wifi.py

View File

@ -0,0 +1,16 @@
.deploy/send-libs.sh \
adafruit_pioasm.mpy \
adafruit_requests.mpy \
adafruit_vl53l1x.mpy \
adafruit_bno055.mpy \
adafruit_wsgi \
adafruit_esp32spi \
adafruit_register
.deploy/send-it.sh \
ch-13/2-fusing-sensors/all_sensors_test/all_sensors_test.py \
ch-13/2-fusing-sensors/all_sensors_test/graphing.html \
ch-13/2-fusing-sensors/all_sensors_test/robot.py \
ch-13/2-fusing-sensors/all_sensors_test/pio_encoder.py \
ch-13/2-fusing-sensors/all_sensors_test/pid.py \
ch-13/2-fusing-sensors/all_sensors_test/robot_wifi.py

View File

@ -1,9 +1,14 @@
rm -rf /volumes/CIRCUITPY/lib/adafruit_espi
rsync -rv libs/Adafruit_CircuitPython_ESP32SPI/adafruit_esp32spi /volumes/CIRCUITPY/lib
.deploy/send-libs.sh \
adafruit_requests.mpy \
adafruit_wsgi \
adafruit_esp32spi
adafruit_wsgi
.deploy/send-it.sh \
ch-13/2-fusing-sensors/no_imu/no_sensors.py \
ch-13/2-fusing-sensors/no_imu/graphing.html \
ch-13/2-fusing-sensors/no_imu/robot_wifi.py
ch-13/2-fusing-sensors/no_imu/robot_wifi.py \
secrets.py

View File

@ -1,6 +0,0 @@
.deploy/send-it.sh \
ch-9/3-sensors/sensor_remote.py \
ch-9/3-sensors/robot_wifi.py \
ch-9/3-sensors/robot.py \
ch-9/3-sensors/pio_encoder.py \
ch-9/3-sensors/sensor.html

View File

@ -1,6 +0,0 @@
.deploy/send-it.sh \
ch-9/4-teleop/teleop.py \
ch-9/4-teleop/robot_wifi.py \
ch-9/4-teleop/robot.py \
ch-9/4-teleop/pio_encoder.py \
ch-9/4-teleop/teleop.html

View File

@ -3,7 +3,7 @@ set -eiu -o pipefail
DEST=/volumes/CIRCUITPY
# DEST=dummy
LIBRARY_SRC=libs/circuitpython-bundle-7/lib
LIBRARY_SRC=libs/circuitpython-bundle-7-mpy/lib
mkdir -p "${DEST}/lib"
for ITEM in "$@"; do

View File

@ -5,6 +5,7 @@ DEST=/volumes/CIRCUITPY
LIBRARY_SRC=/Users/danielstaple/git_work/projects_in_cloud/book_authoring/book-research/pico-book-research/circuitpython/3rdparty/built/adafruit-circuitpython-bundle-7.x-mpy-20220228
FILES=(adafruit_pioasm.mpy adafruit_requests.mpy adafruit_vl53l1x.mpy)
#bno_055, adafruit_register
FOLDERS=(adafruit_wsgi adafruit_esp32spi)
for file in "${FILES[@]}"; do