<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/uart.c, branch v1.4.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-05-03T12:48:26+00:00</updated>
<entry>
<title>stmhal: Allow to configure UART pins completely via mpconfigboard.h.</title>
<updated>2015-05-03T12:48:26+00:00</updated>
<author>
<name>Eero af Heurlin</name>
<email>rambo@iki.fi</email>
</author>
<published>2015-05-02T16:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2378be4e933dda0f7e7adb2f227530d3fcc3a6aa'/>
<id>urn:sha1:2378be4e933dda0f7e7adb2f227530d3fcc3a6aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Exclude code for UARTs that don't exist in hardware.</title>
<updated>2015-04-18T20:40:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-18T14:59:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8892f71dd0f39aedd7342a0f1e8517614f8b21dc'/>
<id>urn:sha1:8892f71dd0f39aedd7342a0f1e8517614f8b21dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Overhaul and simplify printf/pfenv mechanism.</title>
<updated>2015-04-16T14:30:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-09T22:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f9d1d6ab923096582622b700bedb6a571518eac'/>
<id>urn:sha1:7f9d1d6ab923096582622b700bedb6a571518eac</id>
<content type='text'>
Previous to this patch the printing mechanism was a bit of a tangled
mess.  This patch attempts to consolidate printing into one interface.

All (non-debug) printing now uses the mp_print* family of functions,
mainly mp_printf.  All these functions take an mp_print_t structure as
their first argument, and this structure defines the printing backend
through the "print_strn" function of said structure.

Printing from the uPy core can reach the platform-defined print code via
two paths: either through mp_sys_stdout_obj (defined pert port) in
conjunction with mp_stream_write; or through the mp_plat_print structure
which uses the MP_PLAT_PRINT_STRN macro to define how string are printed
on the platform.  The former is only used when MICROPY_PY_IO is defined.

With this new scheme printing is generally more efficient (less layers
to go through, less arguments to pass), and, given an mp_print_t*
structure, one can call mp_print_str for efficiency instead of
mp_printf("%s", ...).  Code size is also reduced by around 200 bytes on
Thumb2 archs.
</content>
</entry>
<entry>
<title>stmhal: For UART, check that baudrate is within 5% of desired value.</title>
<updated>2015-02-22T00:26:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-22T00:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=77fc276c08b59d67779b726668d0b377c8ef47f0'/>
<id>urn:sha1:77fc276c08b59d67779b726668d0b377c8ef47f0</id>
<content type='text'>
Also includes documentation about minimum baudrate.

Addresses issue #1090.
</content>
</entry>
<entry>
<title>stmhal: Add uart.sendbreak() method, to send a break condition.</title>
<updated>2015-02-13T19:04:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-13T19:04:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=baafb290ada10c7b8ba0b4b31fb4c5ec8282be88'/>
<id>urn:sha1:baafb290ada10c7b8ba0b4b31fb4c5ec8282be88</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>stream: Convert .ioctl() to take fixed number of args.</title>
<updated>2014-11-16T22:16:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-16T22:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f4a6a577ab133781c06aec029c806c878555730a'/>
<id>urn:sha1:f4a6a577ab133781c06aec029c806c878555730a</id>
<content type='text'>
This is more efficient, as allows to use register calling convention.
If needed, a structure pointer can be passed as argument to pass more
data.
</content>
</entry>
<entry>
<title>stmhal: Fix UART so bits counts number of data bits, not incl parity.</title>
<updated>2014-10-31T20:28:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T20:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4029f51842656e7a1576dbe7c41aeea3eef83645'/>
<id>urn:sha1:4029f51842656e7a1576dbe7c41aeea3eef83645</id>
<content type='text'>
Addresses issue #950.
</content>
</entry>
<entry>
<title>stmhal: Implement support for RTS/CTS hardware flow control in UART.</title>
<updated>2014-10-31T00:40:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-31T00:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ef67d30f17d8a9d08cc72afca9e49c0b45271d3'/>
<id>urn:sha1:4ef67d30f17d8a9d08cc72afca9e49c0b45271d3</id>
<content type='text'>
This is experimental support.  API is subject to changes.  RTS/CTS
available on UART(2) and UART(3) only.  Use as:

    uart = pyb.UART(2, 9600, flow=pyb.UART.RTS | pyb.UART.CTS)
</content>
</entry>
</feed>
