<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/readline.c, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-12T02:15:35+00:00</updated>
<entry>
<title>stmhal: Move readline code to lib/mp-readline/.</title>
<updated>2015-01-12T02:15:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-12T02:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a7bcb218fe816087e7dd6962f49fb9d50853f09a'/>
<id>urn:sha1:a7bcb218fe816087e7dd6962f49fb9d50853f09a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Collect all root pointers together in 1 place.</title>
<updated>2015-01-07T23:38:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-07T23:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3b51b3e90f1d513031ad2c6b6a2a0d5d391f753d'/>
<id>urn:sha1:3b51b3e90f1d513031ad2c6b6a2a0d5d391f753d</id>
<content type='text'>
A GC in stmhal port now only scans true root pointers, not entire BSS.
This reduces base GC time from 1700ms to 900ms.
</content>
</entry>
<entry>
<title>stmhal: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T21:06:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T21:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2cf6dfa280a8149941aafc852fbaae8bdfc4999e'/>
<id>urn:sha1:2cf6dfa280a8149941aafc852fbaae8bdfc4999e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Remove unnecessary HAL_Delay in readline loop.</title>
<updated>2014-11-27T17:04:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-27T17:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=317cf18486a4791b0322aadcb07c32c6e0a7d0d9'/>
<id>urn:sha1:317cf18486a4791b0322aadcb07c32c6e0a7d0d9</id>
<content type='text'>
The reason for having this delay is to reduce power consumption at the
REPL (HAL_Delay calls __WFI to idle the CPU).  But stdin_rx_chr has a
__WFI in it anyway, so this delay call is not needed.

By removing this call, the readline input can consume characters much
more quickly (before was limited to 1000 chrs/s), and has much reduced
dependency on the specific port.
</content>
</entry>
<entry>
<title>stmhal: Reduce coupling between USB driver and readline.</title>
<updated>2014-11-27T16:58:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-27T16:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5cbc9e0db0f01e1e643e8c091a536b54372df5bd'/>
<id>urn:sha1:5cbc9e0db0f01e1e643e8c091a536b54372df5bd</id>
<content type='text'>
This makes it easier to re-use readline.c and pyexec.c from stmhal in
other ports.
</content>
</entry>
<entry>
<title>stmhal: Improve REPL control codes; improve pyboard.py script.</title>
<updated>2014-10-26T15:39:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-26T15:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bc1488a05f509cd5be8bfab9574babfcb993806f'/>
<id>urn:sha1:bc1488a05f509cd5be8bfab9574babfcb993806f</id>
<content type='text'>
Improvements are:

2 ctrl-C's are now needed to truly kill running script on pyboard, so
make CDC interface allow multiple ctrl-C's through at once (ie sending
b'\x03\x03' to pyboard now counts as 2 ctrl-C's).

ctrl-C in friendly-repl can now stop multi-line input.

In raw-repl mode, use ctrl-D to indicate end of running script, and also
end of any error message.  Thus, output of raw-repl is always at least 2
ctrl-D's and it's much easier to parse.

pyboard.py is now a bit faster, handles exceptions from pyboard better
(prints them and exits with exit code 1), prints out the pyboard output
while the script is running (instead of waiting till the end), and
allows to follow the output of a previous script when run with no
arguments.
</content>
</entry>
<entry>
<title>stmhal: Clean up reset/soft-reset code; fix bug init'ing VCP exc.</title>
<updated>2014-08-04T10:09:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-04T10:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccacdf44b6c5241ce05769e777008767a7ed8939'/>
<id>urn:sha1:ccacdf44b6c5241ce05769e777008767a7ed8939</id>
<content type='text'>
Make a clearer distinction between init functions that must be done
before any scripts can run (xxx_init0) and those that can be safely
deferred (xxx_init).

Fix bug initialising USB VCP exception.  Addresses issue #788.

Re-order some init function to improve reliability of
reset/soft-reset.
</content>
</entry>
<entry>
<title>stmhal: Fix REPL printing by cooking output sent to stdout_obj.</title>
<updated>2014-07-20T12:57:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-20T12:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=951ed9d02ffc826c68ee3af26c3530477e7e6156'/>
<id>urn:sha1:951ed9d02ffc826c68ee3af26c3530477e7e6156</id>
<content type='text'>
Recent changes to builtin print meant that print was printing to the
mp_sys_stdout_obj, which was sending data raw to the USB CDC device.
The data should be cooked so that \n turns into \r\n.
</content>
</entry>
<entry>
<title>Merge branch 'teensy-new' of github.com:dhylands/micropython into dhylands-teensy-new</title>
<updated>2014-07-02T12:42:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-02T12:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a37f647a5d953a47a6147cf8302e08f27537771'/>
<id>urn:sha1:7a37f647a5d953a47a6147cf8302e08f27537771</id>
<content type='text'>
Conflicts:
	stmhal/pin_named_pins.c
	stmhal/readline.c

Renamed HAL_H to MICROPY_HAL_H.  Made stmhal/mphal.h which intends to
define the generic Micro Python HAL, which in stmhal sits above the ST
HAL.
</content>
</entry>
<entry>
<title>stmhal: Include mpconfig.h before all other includes.</title>
<updated>2014-06-28T20:32:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-28T20:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8139494e54b5ad1630f30490216e9486b976bdb8'/>
<id>urn:sha1:8139494e54b5ad1630f30490216e9486b976bdb8</id>
<content type='text'>
It defines types used by all other headers.

Fixes #691.
</content>
</entry>
</feed>
