Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makes ampy work on esp32cam and others #126

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# this fork

fixes the issue where ampy does not work on esp32cam and other boards that wire the RST serial line to the MCU reset pin.

micropython's pyboard.py has the python bug which causes this - this fork includes the updated pyboard.py which works around that python bug.

# ampy replacement
We have been working on the next version of ampy which will solve various problems with the current system. Based on a new modular architecture, it makes adding device support and features very simple using plugins. It also aims to support coding over WiFi for supported devices. This should eliminate the need to have a wired connection and improve reliability as well.
[Here](https://github.com/curiouswala/ampy-2) is an alpha release please go ahead and play with it. Leave suggestions for a new name in the issue section. :)
Expand Down
5 changes: 4 additions & 1 deletion ampy/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def get(self, filename):
# expects string data.
command = """
import sys
import ubinascii
try:
import ubinascii
except:
import binascii as ubinascii
with open('{0}', 'rb') as infile:
while True:
result = infile.read({1})
Expand Down
Loading