<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal, branch travis-esp8266</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-08-11T03:01:57+00:00</updated>
<entry>
<title>stmhal/adc.c: Get ADC working on STM32L4 MCUs.</title>
<updated>2016-08-11T03:01:57+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>badi@baerospace.ch</email>
</author>
<published>2016-07-19T09:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=af9889f99a325adb725c61476bd580b11593ca50'/>
<id>urn:sha1:af9889f99a325adb725c61476bd580b11593ca50</id>
<content type='text'>
Fixing Issue #2243. Main problems were:

- HAL_ADC_GetState(adcHandle) may return other bits set (not only
  HAL_ADC_STATE_EOC_REG) when called - so I AND-ed it out as proposed by
  mattbrejza in Issue #2243.
- ADC Pin has to be configured as GPIO_MODE_ANALOG_ADC_CONTROL not only
  GPIO_MODE_ANALOG.
- Resolved ADC resolution L4 specific (Use L4 define ADC_RESOLUTION_12B).
- Changed setting of Init.EOCSelection toADC_EOC_SINGLE_CONV for L4.
- Added call to ADC_MultiModeTypeDef as this is done on a STM32Cube
  generated project too.
- Clean up: Configuration of ADC is done only in ONE function not the same
  is done in two functions.

Test is done on PA5 pin of STM32L4Discovery-Kit which is connected to the
DOWN button.

Thanks to mattbrejza for discovering the bug.
</content>
</entry>
<entry>
<title>stmhal/boards: Update STM32L476 pin defs to include ADC channels.</title>
<updated>2016-08-11T03:01:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-08-11T03:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dfb8144037b5d61a55397871801d560f21a232dd'/>
<id>urn:sha1:dfb8144037b5d61a55397871801d560f21a232dd</id>
<content type='text'>
This patch introduces proper ADC Pin definitions in stm32l476_af.csv.
Originally provided by @tobbad.
</content>
</entry>
<entry>
<title>stmhal: Fix I2C mappings for STM32F429DISC board.</title>
<updated>2016-08-04T12:51:53+00:00</updated>
<author>
<name>David Siorpaes</name>
<email>david.siorpaes@st.com</email>
</author>
<published>2016-08-01T09:47:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b67eb20ed05e5cc6c04178ab45145d2ffe019bbd'/>
<id>urn:sha1:b67eb20ed05e5cc6c04178ab45145d2ffe019bbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make SPI NSS pin definition optional.</title>
<updated>2016-07-30T19:08:20+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-07-15T23:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=460bceca391a93bc0a06988eb8984f8b245dad62'/>
<id>urn:sha1:460bceca391a93bc0a06988eb8984f8b245dad62</id>
<content type='text'>
Some boards (like the GHI Electronics G30 Dev Board) don't use
NSS at all and rather just use GPIO chip selects.
</content>
</entry>
<entry>
<title>stmhal: fixing malloc when used with external libraries</title>
<updated>2016-07-30T18:24:35+00:00</updated>
<author>
<name>Matt Brejza</name>
<email>mbrejza@gmail.com</email>
</author>
<published>2016-07-14T23:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=afd4909a0f291c83aa8174921f78e1f7dde2919f'/>
<id>urn:sha1:afd4909a0f291c83aa8174921f78e1f7dde2919f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Enable SD card on L4 MCUs.</title>
<updated>2016-06-29T13:29:01+00:00</updated>
<author>
<name>dpslwk</name>
<email>dps.lwk@gmail.com</email>
</author>
<published>2016-06-29T11:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f3636a7b46942b7141d75214015a00a4c4aa21d6'/>
<id>urn:sha1:f3636a7b46942b7141d75214015a00a4c4aa21d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Correct DMA to allow SD card on L4 MCUs.</title>
<updated>2016-06-29T13:28:49+00:00</updated>
<author>
<name>dpslwk</name>
<email>dps.lwk@gmail.com</email>
</author>
<published>2016-06-29T11:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b03df60f32c977a8a272cdeeaf1812f79918e69c'/>
<id>urn:sha1:b03df60f32c977a8a272cdeeaf1812f79918e69c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Update HALCOMMITS due to change to hal</title>
<updated>2016-06-29T13:28:49+00:00</updated>
<author>
<name>dpslwk</name>
<email>dps.lwk@gmail.com</email>
</author>
<published>2016-06-29T11:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=14b7c3e59c929ed3a0ac4dd91a77d5dd9d555abc'/>
<id>urn:sha1:14b7c3e59c929ed3a0ac4dd91a77d5dd9d555abc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Port of f4 hal commit 1d7fb82 to l4 hal</title>
<updated>2016-06-29T13:27:55+00:00</updated>
<author>
<name>dpslwk</name>
<email>dps.lwk@gmail.com</email>
</author>
<published>2016-06-27T08:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=daa279a3a1b38bc7a8218e2c6186e63483c7cfc3'/>
<id>urn:sha1:daa279a3a1b38bc7a8218e2c6186e63483c7cfc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Rename mp_obj_type_t::stream_p to protocol.</title>
<updated>2016-06-18T15:44:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-18T15:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=07209f8592f15435d6abbccaad5347cea2c7722e'/>
<id>urn:sha1:07209f8592f15435d6abbccaad5347cea2c7722e</id>
<content type='text'>
It's now used for more than just stream protocol (e.g. pin protocol), so
don't use false names.
</content>
</entry>
</feed>
