<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/litex/boards, 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>Merge pull request #3878 from xobs/fomu-fixes-6.0.0</title>
<updated>2020-12-28T19:51:26+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-12-28T19:51:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f9d9c031a9449105b264bee58c0893511b9a6f14'/>
<id>urn:sha1:f9d9c031a9449105b264bee58c0893511b9a6f14</id>
<content type='text'>
Fomu fixes for 6.0.0</content>
</entry>
<entry>
<title>litex: move more critical code to RAM</title>
<updated>2020-12-24T06:06:57+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-12-24T06:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2f95cc95a494395658eefed6130b9a8732117482'/>
<id>urn:sha1:2f95cc95a494395658eefed6130b9a8732117482</id>
<content type='text'>
The XIP SPI flash on Fomu is slow, which results in certain operations
taking a long time. This becomes a problem for time-critical operations
such as USB.

Move various calls into RAM to improve performance.

This includes the call to __modsi3 and __udivsi3 which are used by the
supervisor handler to determine if periodic callbacks need to be run.

This finishes fixing #3841

Signed-off-by: Sean Cross &lt;sean@xobs.io&gt;
</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>supervisor.mk: Compute USB_DEVICES; remove from boards and ports</title>
<updated>2020-06-23T17:59:01+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2020-06-16T00:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f232aef7865c4e094f060f9766418f60fb9f86ea'/>
<id>urn:sha1:f232aef7865c4e094f060f9766418f60fb9f86ea</id>
<content type='text'>
Since Actions passed on the previous commit, where this computed value
was checked against the specified value (if any), this is no net change,
except that we no longer need to specify it for particular boards or
ports.
</content>
</entry>
<entry>
<title>linker scripts: Re-align at ":"</title>
<updated>2020-04-27T22:17:42+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-04-27T17:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f0f0b30d3eee87503b732cd639805f6fd094646'/>
<id>urn:sha1:7f0f0b30d3eee87503b732cd639805f6fd094646</id>
<content type='text'>
With "git show -b" you can verify that this is a whitespace only change
because the diff will be empty.
</content>
</entry>
<entry>
<title>litex: Use FLASH_FIRMWARE instead of FLASH in linker scripts</title>
<updated>2020-04-27T14:12:45+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-04-27T13:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f6dc835d2c9a6080a58fb0164b9b0914e0b652b'/>
<id>urn:sha1:6f6dc835d2c9a6080a58fb0164b9b0914e0b652b</id>
<content type='text'>
for compatibility with the build_memory_info script
</content>
</entry>
<entry>
<title>ports: fomu: move more functions into ram for stability</title>
<updated>2020-04-02T03:21:22+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-04-02T03:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9845a064ad22dd6cc6c720a8b765978a16e71ff7'/>
<id>urn:sha1:9845a064ad22dd6cc6c720a8b765978a16e71ff7</id>
<content type='text'>
The SPI flash on current Fomu firmware is slow.  Circuitpython runs
XIP from SPI flash, and so execution time can also be slow.  Ordinarily
this isn't a problem, however certain operations are time-sensitive.

In particular, USB function needs to be handled quickly in order to
prevent the host from re-enumerating the device.

Place several critical TinyUSB structures into RAM, as well as several
hot functions that are frequently called.  This reduces execution time
at the expense of system memory, and greatly improves system stability.

Signed-off-by: Sean Cross &lt;sean@xobs.io&gt;
</content>
</entry>
<entry>
<title>ports: litex: enable itcm region for fomu</title>
<updated>2020-03-31T01:40:38+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-03-30T03:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=065441e58c5e56060e7cc690f284e1f12b442f1c'/>
<id>urn:sha1:065441e58c5e56060e7cc690f284e1f12b442f1c</id>
<content type='text'>
This adds a new command line flag -DFOMU to indicate we're building
for a Fomu board.

Signed-off-by: Sean Cross &lt;sean@xobs.io&gt;
</content>
</entry>
<entry>
<title>ports: litex: add port and fomu board</title>
<updated>2020-03-31T01:40:38+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-02-04T01:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=786e79ebc9b45c83dc0013e39b1e217889a9506b'/>
<id>urn:sha1:786e79ebc9b45c83dc0013e39b1e217889a9506b</id>
<content type='text'>
This adds support for Litex, along with support for the Fomu FPGA board.

Signed-off-by: Sean Cross &lt;sean@xobs.io&gt;
</content>
</entry>
</feed>
