scientifichackers / ampy

MicroPython Tool - Utility to interact with a MicroPython board over a serial connection.
MIT License
720 stars 157 forks source link

some functions import uos - does not work for CircutPython 2.0.0-beta-1.1 #24

Closed jerryneedell closed 7 years ago

jerryneedell commented 7 years ago

CircuitPython 2.0.0-beta-1.1 doe not include uos (only os ). Several functions - rm, ls,mkdir etc try to import uos and fail.

tannewt commented 7 years ago

I opened https://github.com/adafruit/ampy/pull/26 with a fix.

jerryneedell commented 7 years ago

I downloaded an tried your fix and it works for me! Thanks!

dhalbert commented 7 years ago

Fixed by #26. Uploaded to pypi as https://pypi.python.org/pypi/adafruit-ampy/1.0.2 Uninstalled my local copy, installed it via pip. Tested on Cpy 1.0.0 and 2.0.0 and it works on both.