<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/stm/common-hal/sdioio, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-03-15T13:57:36+00:00</updated>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `board_deinit` for use with sleep</title>
<updated>2020-12-08T18:52:25+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-12-03T02:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40118bcf57f026fd6a58733501c759a9ba87e835'/>
<id>urn:sha1:40118bcf57f026fd6a58733501c759a9ba87e835</id>
<content type='text'>
This changes lots of files to unify `board.h` across ports. It adds
`board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to
deinit the board before deep sleeping (even when pretending.)

Deep sleep is now a two step process for the port. First, the
port should prepare to deep sleep based on the given alarms. It
should set alarms for both deep and pretend sleep. In particular,
the pretend versions should be set immediately so that we don't
miss an alarm as we shutdown. These alarms should also wake from
`port_idle_until_interrupt` which is used when pretending to deep
sleep.

Second, when real deep sleeping, `alarm_enter_deep_sleep` is called.
The port should set any alarms it didn't during prepare based on
data it saved internally during prepare.

ESP32-S2 sleep is a bit reorganized to locate more logic with
TimeAlarm. This will help it scale to more alarm types.

Fixes #3786
</content>
</entry>
<entry>
<title>stm: sdioio: include header for common_hal_mcu_pin_claim</title>
<updated>2020-07-30T12:18:12+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-30T02:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f175a49444f2f2be8e57db7e454f7852c19744c8'/>
<id>urn:sha1:f175a49444f2f2be8e57db7e454f7852c19744c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: sdioio: call common_hal_mcu_pin_claim</title>
<updated>2020-07-30T12:18:12+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-30T02:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b57e6e9856c5e65cfeca40ad548a9804056dd9df'/>
<id>urn:sha1:b57e6e9856c5e65cfeca40ad548a9804056dd9df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: sdioio: remove unused code related to "SD Card detect pin"</title>
<updated>2020-07-30T12:18:02+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-23T23:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=60dd5a8d7db5700ea886dc54988e2ed9502ac8c4'/>
<id>urn:sha1:60dd5a8d7db5700ea886dc54988e2ed9502ac8c4</id>
<content type='text'>
.. this probably came from the examples that I studied at the beginning
of implementation.

The card detection feature is unused.  As a "detect pin" is not
sent from the shared-bindings, there is no way to get the correct pin
anyway.  Instead, if code needs to detect the insertion state it can
directly use the pin as GPIO in Python code.
</content>
</entry>
<entry>
<title>stm: stioio: correctly claim pins</title>
<updated>2020-07-30T12:18:02+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-23T22:58:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccd3013396e1e36f2cce5956c301e50ff1b4324d'/>
<id>urn:sha1:ccd3013396e1e36f2cce5956c301e50ff1b4324d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: sdioio: Get rid of debug code and useless comments</title>
<updated>2020-07-30T12:18:02+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-23T22:58:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3cf1258c8782f510628d23c4e7b816f18af4fedd'/>
<id>urn:sha1:3cf1258c8782f510628d23c4e7b816f18af4fedd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: Add sdioio support for feather_stm32f405_express</title>
<updated>2020-07-30T12:18:02+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-06-26T15:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4adbd23b75df7e484b8264563d5c7e51c0f6a3b2'/>
<id>urn:sha1:4adbd23b75df7e484b8264563d5c7e51c0f6a3b2</id>
<content type='text'>
Currently, only the bus specs of the stm32f405xx have been coded.
Other stm-family chips need (at a minimum) the specs added in their
periph.[ch] files.
</content>
</entry>
</feed>
