<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/uart.c, branch v1.4.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-08-07T07:52:42+00:00</updated>
<entry>
<title>stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7</title>
<updated>2015-08-07T07:52:42+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-08-03T22:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f59bacb92cb705d79f08f29f4d64c0a774ab78f'/>
<id>urn:sha1:8f59bacb92cb705d79f08f29f4d64c0a774ab78f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add support for USART1 and conditional pins in make-pins.py.</title>
<updated>2015-08-02T23:23:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-02T23:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=751485fe6b7eeb93f171c2f2b0417803f6e78c05'/>
<id>urn:sha1:751485fe6b7eeb93f171c2f2b0417803f6e78c05</id>
<content type='text'>
Thanks to Dave Hylands for the patch.
</content>
</entry>
<entry>
<title>stmhal: Add better support for UART having Tx and Rx on different ports.</title>
<updated>2015-08-02T23:22:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-02T23:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a632037866c55e04fe6d5c3f96e39067e4ad5579'/>
<id>urn:sha1:a632037866c55e04fe6d5c3f96e39067e4ad5579</id>
<content type='text'>
Thanks to Dave Hylands for the patch.
</content>
</entry>
<entry>
<title>stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable.</title>
<updated>2015-08-02T23:14:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-02T23:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0851751615580d02bd6f841e13651923f05fde59'/>
<id>urn:sha1:0851751615580d02bd6f841e13651923f05fde59</id>
<content type='text'>
Extracted GPIO clock enable logic into mp_hal_gpio_clock_enable
and called from anyplace which might need to use GPIO functions
on ports other than A-D.

Thanks to Dave Hylands for the patch.
</content>
</entry>
<entry>
<title>stmhal: Add STM32F7DISC and associated changes.</title>
<updated>2015-07-29T23:38:32+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-07-28T18:13:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=92d4b51ad5d828930334f87d9619a78b5877a384'/>
<id>urn:sha1:92d4b51ad5d828930334f87d9619a78b5877a384</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add support for UART5</title>
<updated>2015-05-31T23:14:46+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-05-31T22:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3ac2d06bd13f1cedb8242eaacc6c608ac08c3520'/>
<id>urn:sha1:3ac2d06bd13f1cedb8242eaacc6c608ac08c3520</id>
<content type='text'>
I tested this on my CERB40 board and it seems to be working fine.
</content>
</entry>
<entry>
<title>stmhal: Remove PYBVxx defines and use config vars for UART/CAN names.</title>
<updated>2015-05-27T15:51:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-27T15:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1775b65e07fae808dc50f9cee2005608cd3a26de'/>
<id>urn:sha1:1775b65e07fae808dc50f9cee2005608cd3a26de</id>
<content type='text'>
Now all stmhal-based boards can name their peripherals (if they want) to
any string.
</content>
</entry>
<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>
</feed>
