Browse Source

Upload new-structure agnostic and the time package too

master^2
Cefn Hoile 4 years ago
parent
commit
1ecde5c041
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      test/scripts/upload_feather_huzzah_circuitpython_put.sh

+ 8
- 3
test/scripts/upload_feather_huzzah_circuitpython_put.sh View File

@ -40,7 +40,12 @@ done
# switch to adafruit_blinka source
cd ../../src
# upload agnostic/mpy for platform detection used by tests
# create adafruit_blinka agnostic package for cross-platform logic
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
ampy --port $PORT mkdir --exists-okay adafruit_blinka/agnostic
# upload agnostic.mpy for platform detection
$MPYCROSS adafruit_blinka/agnostic/__init__.py
ampy --port $PORT put adafruit_blinka/agnostic/__init__.mpy adafruit_blinka/agnostic/__init__.mpy
# upload time.mpy for time logic
$MPYCROSS adafruit_blinka/agnostic/time.py
ampy --port $PORT put adafruit_blinka/agnostic/time.mpy adafruit_blinka/agnostic/time.mpy

Loading…
Cancel
Save