<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tools/pyboard.py, branch 0.9.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-12-15T00:29:33+00:00</updated>
<entry>
<title>tools/pyboard.py: Refactor so target is not reset between scripts/cmd.</title>
<updated>2016-12-15T00:29:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-15T00:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=29b58796136e3c9133cd268b163db1c53e67ac9b'/>
<id>urn:sha1:29b58796136e3c9133cd268b163db1c53e67ac9b</id>
<content type='text'>
Previous to this patch pyboard.py would open a new serial connection to
the target for each script that was run, and for any command that was run.
Apart from being inefficient, this meant that the board was soft-reset
between scripts/commands, which precludes scripts from accessing variables
set in a previous one.

This patch changes the behaviour of pyboard.py so that the connection to
the target is created only once, and it's not reset between scripts or any
command that is sent with the -c option.
</content>
</entry>
<entry>
<title>tools: Fix pyboard.py to work under Python 3.</title>
<updated>2015-12-08T12:55:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-08T12:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bbe2e22fcb3bf83b03ad25856e29995987e1fc40'/>
<id>urn:sha1:bbe2e22fcb3bf83b03ad25856e29995987e1fc40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools: Add option to pyboard.py to wait for serial device to be ready.</title>
<updated>2015-12-08T11:10:09+00:00</updated>
<author>
<name>Peter Hinch</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2015-12-01T06:13:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f4fcc14cfb69aeae381a2931eb1f606a2975b1e7'/>
<id>urn:sha1:f4fcc14cfb69aeae381a2931eb1f606a2975b1e7</id>
<content type='text'>
Also prints a nicer error message if the serial connection could not be
established.
</content>
</entry>
<entry>
<title>tools: Allow pyboard.py to work when boot.py prints things.</title>
<updated>2015-12-06T21:45:10+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-04T00:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=519cef813eff8a44d8f112cce5bcb07008ddbc98'/>
<id>urn:sha1:519cef813eff8a44d8f112cce5bcb07008ddbc98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Don't add terminating \x04 character to stdout output.</title>
<updated>2015-11-07T13:48:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-07T09:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=89f2ddd2d0299f509a7ed48a0d22dc231385d747'/>
<id>urn:sha1:89f2ddd2d0299f509a7ed48a0d22dc231385d747</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard.py: Make -c (inline Python code) option compatible with python2.</title>
<updated>2015-11-07T09:16:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-07T09:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e6dccaf18eaaf7aeb80c51c796c2d2036ff49b6b'/>
<id>urn:sha1:e6dccaf18eaaf7aeb80c51c796c2d2036ff49b6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard: Add -c argument to run a program passed as a string.</title>
<updated>2015-10-19T22:20:59+00:00</updated>
<author>
<name>Tom Soulanille</name>
<email>soul@prama.com</email>
</author>
<published>2015-07-31T04:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a78746756978ce217b4af81cfe72090e4b69dc6b'/>
<id>urn:sha1:a78746756978ce217b4af81cfe72090e4b69dc6b</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
