<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tools/pyboard.py, branch v1.4.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-08-08T12:03:08+00:00</updated>
<entry>
<title>tools: Make pyboard.py Python2 compatible.</title>
<updated>2015-08-08T12:03:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-08T12:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e86b47175fb0dc0992e46f48117d29e3f40969c1'/>
<id>urn:sha1:e86b47175fb0dc0992e46f48117d29e3f40969c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Fix read timeout calc to work with shorter sleep.</title>
<updated>2015-07-28T23:21:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-28T23:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ccdf8be771481706c49da67b95a3faab5edc548'/>
<id>urn:sha1:7ccdf8be771481706c49da67b95a3faab5edc548</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools: Add telnet support to pyboard.py.</title>
<updated>2015-07-26T13:02:34+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-06-28T12:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cd14188bc8b4cd942ea7ea5cf5eb27955d8695ae'/>
<id>urn:sha1:cd14188bc8b4cd942ea7ea5cf5eb27955d8695ae</id>
<content type='text'>
The adapter class "TelnetToSerial" is used to access the Telnet
connection using the same API as with the serial connection. The
function pyboard.run-test() has been removed to made the module
generic and because this small test is no longer needed.
</content>
</entry>
<entry>
<title>tools/pyboard.py: Speed up reading of chars by decreasing sleep period.</title>
<updated>2015-07-25T21:49:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-25T21:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db109ca0fc12f4a8ffe08d44d3b1422452bd7b4e'/>
<id>urn:sha1:db109ca0fc12f4a8ffe08d44d3b1422452bd7b4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Make enter_raw_repl stricter and more reliable.</title>
<updated>2015-07-25T21:46:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-25T21:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f1236734bbd8baaa2566e0f3abdd0ff2d6663932'/>
<id>urn:sha1:f1236734bbd8baaa2566e0f3abdd0ff2d6663932</id>
<content type='text'>
When looking for chars to indicate raw repl is active, look for the full
string of chars to improve reliability of entering raw repl correctly.

Previous to this patch there was the possibility that raw repl was
entered in a dirty state, where not all input chars from previous
invocation were drained.
</content>
</entry>
<entry>
<title>tools/pyboard.py: Fix parsing of returned error so last chr is not lost.</title>
<updated>2015-07-25T21:44:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-25T21:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9de53bf788e6f878396f6b796d39f21c058f3f16'/>
<id>urn:sha1:9de53bf788e6f878396f6b796d39f21c058f3f16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Change logic for when raw "&gt;" prompt is parsed.</title>
<updated>2015-06-15T22:28:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-15T22:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d59ca4efdbcf572b9f77b8e5b045c939181a3089'/>
<id>urn:sha1:d59ca4efdbcf572b9f77b8e5b045c939181a3089</id>
<content type='text'>
In raw REPL "&gt;" 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 "&gt;" 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.
</content>
</entry>
<entry>
<title>tools: Allow pyboard constructor to take a baudrate parameter.</title>
<updated>2015-05-27T22:01:28+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-05-27T17:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=669dbca9598e7ba39fab7344be19e7395b973003'/>
<id>urn:sha1:669dbca9598e7ba39fab7344be19e7395b973003</id>
<content type='text'>
This allows pyboard.py to be used over a UART interface
rather than just over a USB serial interface.
</content>
</entry>
<entry>
<title>tools: Add exec_raw_no_follow to pyboard.py.</title>
<updated>2015-05-18T10:39:57+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-05-17T05:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97ce883217c646a2d2bc9bf6bfce6e2eaa731dae'/>
<id>urn:sha1:97ce883217c646a2d2bc9bf6bfce6e2eaa731dae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Add "--follow" option to wait for output indefinitely.</title>
<updated>2015-05-07T09:14:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-07T09:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4865a22f788e0997771d15e00d2d895d904eb92a'/>
<id>urn:sha1:4865a22f788e0997771d15e00d2d895d904eb92a</id>
<content type='text'>
Also flush stdout so you can see output as it comes.
</content>
</entry>
</feed>
