<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/boards/PYBV11, branch 5.3.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.3.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.3.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-09-06T03:40:51+00:00</updated>
<entry>
<title>ports: Make new ports/ sub-directory and move all ports there.</title>
<updated>2017-09-06T03:40:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-06T03:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=01dd7804b87d60b2deab16712eccb3b97351a9b7'/>
<id>urn:sha1:01dd7804b87d60b2deab16712eccb3b97351a9b7</id>
<content type='text'>
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
</content>
</entry>
<entry>
<title>stmhal: Move PY_SYS_PLATFORM config from board to general config file.</title>
<updated>2016-12-13T05:26:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-12-13T05:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0f408bc1ff9585ec66431176c993c369cd686a2e'/>
<id>urn:sha1:0f408bc1ff9585ec66431176c993c369cd686a2e</id>
<content type='text'>
It can be overridden by a board if needed.
</content>
</entry>
<entry>
<title>stmhal: Refactor UART configuration to use pin objects.</title>
<updated>2016-12-05T03:26:41+00:00</updated>
<author>
<name>Rami Ali</name>
<email>flowergrass@users.noreply.github.com</email>
</author>
<published>2016-12-05T01:21:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=27a503f63284a1751f20d7f5295690fec5e1c462'/>
<id>urn:sha1:27a503f63284a1751f20d7f5295690fec5e1c462</id>
<content type='text'>
This follows the pattern of other peripherals (I2C, SPI) to specify the
pins using pin objects instead of a pair of GPIO port and pin number.  It
makes it easier to customise the UART pins for a particular board.
</content>
</entry>
<entry>
<title>stmhal/boards: configure all F4 boards to work with new HAL</title>
<updated>2016-11-16T11:43:27+00:00</updated>
<author>
<name>Krzysztof Blazewicz</name>
<email>krzysztof.blazewicz@uxeon.com</email>
</author>
<published>2016-09-06T11:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7928b3e347972f1c2144f7ca60c7eb84ff0dde7b'/>
<id>urn:sha1:7928b3e347972f1c2144f7ca60c7eb84ff0dde7b</id>
<content type='text'>
changes include:
* use single GPIO.BSRR instead of BSRRH and BSRRL
* change HSE_STARTUP_TIMEOUT to 100 ms
* define LSE_STARTUP_TIMEOUT to 5 s
</content>
</entry>
<entry>
<title>stmhal/led: Refactor LED to use mp_hal_pin_output() init function.</title>
<updated>2016-10-18T03:43:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T03:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b4cc68e4a4d656c4b1ae4de8db6a089726f1f572'/>
<id>urn:sha1:b4cc68e4a4d656c4b1ae4de8db6a089726f1f572</id>
<content type='text'>
As part of this patch the MICROPY_HW_LED_OTYPE setting is removed because
it is now unused (all boards anyway had this as OUTPUT_PP).
</content>
</entry>
<entry>
<title>stmhal/led: Allow LEDs to be in PWM mode with TIM1 and channels 1-4.</title>
<updated>2016-05-13T10:01:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-13T10:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1dc2862a837a08c6aa96fb369657be21043015ad'/>
<id>urn:sha1:1dc2862a837a08c6aa96fb369657be21043015ad</id>
<content type='text'>
This allows PYBv3 to use PWM for LED(1) and LED(2).
</content>
</entry>
<entry>
<title>stmhal/diskio: Introduce MICROPY_HW_HAS_FLASH setting.</title>
<updated>2016-02-06T13:07:01+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-06T12:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97a0846af906cde677742bff810fb7965c38fbb7'/>
<id>urn:sha1:97a0846af906cde677742bff810fb7965c38fbb7</id>
<content type='text'>
To allow to reuse stmhal/diskio for ports which don't have flash but have
other storage devices.
</content>
</entry>
<entry>
<title>stmhal: Add PWM capability for LED(3) and LED(4) on pyboards.</title>
<updated>2016-01-29T22:44:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-29T22:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a8a4b01af6501ff7ab61b251fc30fcf8a286f8d1'/>
<id>urn:sha1:a8a4b01af6501ff7ab61b251fc30fcf8a286f8d1</id>
<content type='text'>
USB CDC no longer needs TIM3 (which was originally used for LED(4) PWM)
and so TIM3 has been freed for general purpose use by the user.  Hence
LED(4) lost its PWM capabilities.

This patch reinstates the PWM capabilities using a semi-generic piece
of code which allows to configure a timer and PWM channel to use for any
LED.  But the PWM capability is only configured if the LED is set to an
intensity between 1 and 254 (ie only when needed).  In that case the
relevant timer is configured for PWM.  It's up to the user to make sure
the timers are not used if PWM is active.

This patch also makes sure that PWM LEDs are turned off using standard
GPIO when calling led.off() or led.intensity(0), instead of just setting
the PWM counter to zero.
</content>
</entry>
<entry>
<title>stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.</title>
<updated>2015-12-12T15:02:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-12T15:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f7c4f9a64048bcbeaf36be8590b352bbef72aa08'/>
<id>urn:sha1:f7c4f9a64048bcbeaf36be8590b352bbef72aa08</id>
<content type='text'>
Previously, SPI was configured by a board defining MICROPY_HW_ENABLE_SPIx
to 0 or 1.  Now, the board should define MICROPY_HW_SPIx_SCK, MISO, MOSI
and NSS.  This makes it the same as how I2C is configured.
</content>
</entry>
<entry>
<title>stmhal: Add board config files for PYBv1.1 and PYBLITEv1.0.</title>
<updated>2015-12-02T12:47:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-02T12:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9a684d741bd94163af900b321b10ec8e677eeeb'/>
<id>urn:sha1:e9a684d741bd94163af900b321b10ec8e677eeeb</id>
<content type='text'>
</content>
</entry>
</feed>
