<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix/unix_mphal.c, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-20T23:16:35+00:00</updated>
<entry>
<title>unix/unix_mphal: Implement mp_hal_ticks_us().</title>
<updated>2016-05-20T23:16:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-20T23:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b58095821623a3f39de70e26d2d9f1fef173064d'/>
<id>urn:sha1:b58095821623a3f39de70e26d2d9f1fef173064d</id>
<content type='text'>
Similar to existing mp_hal_ticks_ms().
</content>
</entry>
<entry>
<title>unix/unix_mphal: Hack to make uos.dupterm() actually work.</title>
<updated>2016-03-27T11:02:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-03-27T10:57:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=13394a632dda24298e80ec034dd13903059b4a4b'/>
<id>urn:sha1:13394a632dda24298e80ec034dd13903059b4a4b</id>
<content type='text'>
See https://github.com/micropython/micropython/issues/1736 for the
list of complications. This workaround instead of duplicating REPL
to another stream, switches to it, because read(STDIN) we use otherwise
is blocking call, so it and custom REPL stream can't be used together.
</content>
</entry>
<entry>
<title>unix/unix_mphal: Be sure to wrap dupterm code with MICROPY_PY_OS_DUPTERM.</title>
<updated>2016-01-01T20:55:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-01T20:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=98f7729848625344d7eb51e69ed0ac4daa1fb8a7'/>
<id>urn:sha1:98f7729848625344d7eb51e69ed0ac4daa1fb8a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/unix_mphal: Handle exceptions in call to dupterm's .read().</title>
<updated>2016-01-01T20:39:29+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-01T20:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8fa9264430a7252478175b9e8c0b419029871149'/>
<id>urn:sha1:8fa9264430a7252478175b9e8c0b419029871149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable.</title>
<updated>2016-01-01T14:43:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-01T14:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=30b7344eb0a96c9cf608bec55ea38dfcb39ddfaf'/>
<id>urn:sha1:30b7344eb0a96c9cf608bec55ea38dfcb39ddfaf</id>
<content type='text'>
Function to actually spool output terminal data to dupterm object.
</content>
</entry>
<entry>
<title>unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM.</title>
<updated>2015-12-27T23:13:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-27T23:12:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c1620ce1fe3bb2d011ccaca701191927f1d49d6'/>
<id>urn:sha1:2c1620ce1fe3bb2d011ccaca701191927f1d49d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler.</title>
<updated>2015-12-22T22:07:00+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-22T22:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1c9210bc2b58303c1df2ff287f17d178b1a2772b'/>
<id>urn:sha1:1c9210bc2b58303c1df2ff287f17d178b1a2772b</id>
<content type='text'>
POSIX doesn't guarantee something like that to work, but it works on any
system with careful signal implementation. Roughly, the requirement is
that signal handler is executed in the context of the process, its main
thread, etc. This is true for Linux. Also tested to work without issues
on MacOSX.
</content>
</entry>
<entry>
<title>unix/unix_mphal: Just consistently set sigaction.sa_flags to 0.</title>
<updated>2015-12-17T23:07:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-17T23:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c2b3777115f3e929821058f454e7a369b260898'/>
<id>urn:sha1:3c2b3777115f3e929821058f454e7a369b260898</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/unix_mphal: Properly initialize struct sigaction.</title>
<updated>2015-12-17T21:24:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-17T21:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3db2b230602b0140b3ea430c61d415335d939274'/>
<id>urn:sha1:3db2b230602b0140b3ea430c61d415335d939274</id>
<content type='text'>
This solves long-standing non-deterministic bug, which manifested itself
on x86 32-bit (at least of reported cases) - segfault on Ctrl+C (i.e.
SIGINT).
</content>
</entry>
<entry>
<title>unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls.</title>
<updated>2015-11-27T14:03:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T14:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a5a4fe271d87c8331356673bf91416092f1edc2'/>
<id>urn:sha1:7a5a4fe271d87c8331356673bf91416092f1edc2</id>
<content type='text'>
</content>
</entry>
</feed>
