X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/ddf8185ca201c31ee6e7c7f2dc1113e37e05c961..4bbe5af6319e9feff393265af9b6e63591e5ea16:/test/scripts/upload_feather_huzzah_circuitpython_put.sh diff --git a/test/scripts/upload_feather_huzzah_circuitpython_put.sh b/test/scripts/upload_feather_huzzah_circuitpython_put.sh index 709f1ba..cb4e544 100755 --- a/test/scripts/upload_feather_huzzah_circuitpython_put.sh +++ b/test/scripts/upload_feather_huzzah_circuitpython_put.sh @@ -35,4 +35,12 @@ do find . -type f -name '*.mpy' | \ xargs -n1 -I {} sh -c "echo uploading {} ...; ampy --port ${PORT} put {} {}" cd ../ -done \ No newline at end of file +done + +# switch to adafruit_blinka source +cd ../../src + +# upload agnostic/mpy for platform detection used by tests +ampy --port $PORT mkdir --exists-okay adafruit_blinka +$MPYCROSS adafruit_blinka/agnostic.py +ampy --port $PORT put adafruit_blinka/agnostic.mpy adafruit_blinka/agnostic.mpy \ No newline at end of file