micropython/tools
Damien George d59ca4efdb tools/pyboard.py: Change logic for when raw ">" prompt is parsed.
In raw REPL ">" indicates the prompt.  We originally read this character
upon entering the raw REPL, and after reading the last bit of the
output.  This patch changes the logic so the ">" is read only just
before trying to send the next command.  To make this work (and as an
added feature) the input buffer is now flushed upon entering raw REPL.

The main reason for this change is so that pyboard.py recognises the EOF
when sys.exit() is called on the pyboard.  Ie, if you run pyboard.py
with a script that calls sys.exit(), then pyboard.py will exit after
the sys.exit() is called.
2015-06-15 23:28:04 +01:00
..
tinytest
.gitattributes
.gitignore
bootstrap_upip.sh
build-stm-latest.sh
codestats.sh
dfu.py
file2h.py
gen-changelog.sh
gendoc.py
insert-usb-ids.py
make-frozen.py
micropython-upip-0.5.3.tar.gz
pip-micropython
pyboard.py tools/pyboard.py: Change logic for when raw ">" prompt is parsed. 2015-06-15 23:28:04 +01:00
pydfu.py
tinytest-codegen.py