<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/boards/PYBV4, 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-13T10:01:21+00:00</updated>
<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: Update PYBv3 and PYBv4 pin defs to include MMA pins, and others.</title>
<updated>2015-10-31T11:14:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-31T11:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f705cb5f7a755f4c370af8ec0ef659a2ee8e948d'/>
<id>urn:sha1:f705cb5f7a755f4c370af8ec0ef659a2ee8e948d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make accel AVDD pin configurable via mpconfigboard.h.</title>
<updated>2015-10-29T22:40:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-29T22:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f70283909a718ca4eab4efcdd1a2d74939c7193'/>
<id>urn:sha1:6f70283909a718ca4eab4efcdd1a2d74939c7193</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use CMSIS_MCU definition from mpconfigboard.mk</title>
<updated>2015-08-07T07:54:14+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-08-06T07:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=872f9af6aed49fa088d89152b983506285e1d34b'/>
<id>urn:sha1:872f9af6aed49fa088d89152b983506285e1d34b</id>
<content type='text'>
This needs to land afte #1407 lands, since #1407 is where
the CMSIS_MCU was defined.
</content>
</entry>
<entry>
<title>stmhal: Generate modstm constants per build</title>
<updated>2015-08-07T07:46:43+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-08-02T17:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=be66a9ecf60eac18e08eda7bddf4b3481459c9f2'/>
<id>urn:sha1:be66a9ecf60eac18e08eda7bddf4b3481459c9f2</id>
<content type='text'>
This causes unnecessary constants to no longer be generated.
Some constants (like UART_BRR) are different between the F4 and F7
</content>
</entry>
<entry>
<title>stmhal: Update Makefile and board configs to compile with relocated hal.</title>
<updated>2015-07-20T11:30:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-19T11:17:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a39df51d8ab9137b5852595a26d9aa072b46a697'/>
<id>urn:sha1:a39df51d8ab9137b5852595a26d9aa072b46a697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Allow to name SPI busses, and give them names for pyboard.</title>
<updated>2015-05-27T16:21:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-27T16:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=70446f46c2a970026c422b165853eda9dcbc10aa'/>
<id>urn:sha1:70446f46c2a970026c422b165853eda9dcbc10aa</id>
<content type='text'>
</content>
</entry>
</feed>
