<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tools/pyboard.py, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-07-06T18:16:25+00:00</updated>
<entry>
<title>Add license to some obvious files.</title>
<updated>2020-07-06T18:16:25+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-06-03T22:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34b4993d63a6b576f29d624385c681f679b4124c'/>
<id>urn:sha1:34b4993d63a6b576f29d624385c681f679b4124c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Scripts: Change wording for pseudoterminals</title>
<updated>2020-06-25T16:42:23+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-06-14T19:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9737dd9c308df0d7356ee5ff727e34a93a88e302'/>
<id>urn:sha1:9737dd9c308df0d7356ee5ff727e34a93a88e302</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard: Update docstring for additional device support.</title>
<updated>2017-10-07T21:04:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-10-07T21:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c15be989ee195d375f93b39aa13bc4e07b36c1eb'/>
<id>urn:sha1:c15be989ee195d375f93b39aa13bc4e07b36c1eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard: Use repr() when quoting data in error messages.</title>
<updated>2017-10-05T20:40:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-10-05T20:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea6692a83e7132aa18a8032ae3c76fa91d9d50f2'/>
<id>urn:sha1:ea6692a83e7132aa18a8032ae3c76fa91d9d50f2</id>
<content type='text'>
As it may contain newlines, etc.
</content>
</entry>
<entry>
<title>tools/pyboard: Add license header.</title>
<updated>2017-07-22T14:12:15+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-07-22T14:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7901741bf192cb239bb6b5f76464432852bc8e25'/>
<id>urn:sha1:7901741bf192cb239bb6b5f76464432852bc8e25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>various: Spelling fixes</title>
<updated>2017-05-29T08:36:05+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-05-29T07:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ca16c3821053e5bf2b87aeb10007f73f31dc1eac'/>
<id>urn:sha1:ca16c3821053e5bf2b87aeb10007f73f31dc1eac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools/pyboard: Provide more details when expected reply not received.</title>
<updated>2017-04-06T22:04:47+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-06T22:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3e1310d6e23777d7322016d7390a00da3284afbb'/>
<id>urn:sha1:3e1310d6e23777d7322016d7390a00da3284afbb</id>
<content type='text'>
When trying to execute a command via raw REPL and expected "OK" reply
not received, show what was received instead.
</content>
</entry>
<entry>
<title>tools/pyboard: ProcessPtyToTerminal: Add workaround for PySerial bug.</title>
<updated>2017-04-05T09:30:39+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-05T09:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2cbe99783432b29bc303dc2e2cfe6823fe4a6c4f'/>
<id>urn:sha1:2cbe99783432b29bc303dc2e2cfe6823fe4a6c4f</id>
<content type='text'>
When working with a "virtual" port, like PTY. The issue described in
http://stackoverflow.com/questions/34831131/pyserial-does-not-play-well-with-virtual-port
</content>
</entry>
<entry>
<title>tools/pyboard: execpty: Use shell=False to workaround some curdir issues.</title>
<updated>2017-04-04T21:46:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-04T21:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=546ef301a12ccd6015137964637983432c64d11f'/>
<id>urn:sha1:546ef301a12ccd6015137964637983432c64d11f</id>
<content type='text'>
Without this, Zephyr's port "make test" doesn't work.
</content>
</entry>
<entry>
<title>tools/pyboard: Add "exec" and "execpty" pseudo-devices support.</title>
<updated>2017-04-04T14:46:02+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-04T14:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=647e72ca63a345a5d6de16fe359bbc3b7c6615ec'/>
<id>urn:sha1:647e72ca63a345a5d6de16fe359bbc3b7c6615ec</id>
<content type='text'>
This allows to execute a command and communicate with its stdin/stdout
via pipes ("exec") or with command-created pseudo-terminal ("execpty"),
to emulate serial access. Immediate usecase is controlling a QEMU process
which emulates board's serial via normal console, but it could be used
e.g. with helper binaries to access real board over other hadware
protocols, etc.

An example of device specification for these cases is:

	--device exec:../zephyr/qemu.sh
	--device execpty:../zephyr/qemu2.sh

Where qemu.sh contains long-long qemu startup line, or calls another
command. There's a special support in this patch for running the command
in a new terminal session, to support shell wrappers like that (without
new terminal session, only wrapper script would be terminated, but its
child processes would continue to run).
</content>
</entry>
</feed>
