From: Cefn Hoile Date: Mon, 26 Feb 2018 19:55:09 +0000 (+0000) Subject: Added agnostic as shared dependency between micropython and circuitpython test config... X-Git-Tag: 0.1.0~4^2~16 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/4bbe5af6319e9feff393265af9b6e63591e5ea16?ds=inline Added agnostic as shared dependency between micropython and circuitpython test configuration --- 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