| Age | Commit message (Collapse) | Author |
|
|
|
rp2pio: Fix writing where the stride was 2 or 4
|
|
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
|
|
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
|
|
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
|
|
|
|
* Always clear the peripheral interrupt so we don't hang when full
* Store the ringbuf in the object so it gets collected when we're alive
* Make UART objects have a finaliser so they are deinit when their
memory is freed
* Copy bytes into the ringbuf from the FIFO after we read to ensure
the interrupt is enabled ASAP
* Copy bytes into the ringbuf from the FIFO before measuring our
rx available because the interrupt is based on a threshold (not
> 0). For example, a single byte won't trigger an interrupt.
|
|
|
|
|
|
|
|
|
|
Fixes #4210
|
|
|
|
Update for clean blitting into itself
|
|
The wrong stride value was being checked.
|
|
|
|
|
|
Expanded pin names for TinyS2 + FeatherS2 pin additions for DAC1 & DAC2
|
|
|
|
_pixelbuf: Increase performance of brightness-scaling
|
|
|
|
- address suggested changes
- refine uart instance availibility checks
- improve pin validation and rx buffer handling
|
|
spresense: Pass the correct USB bus speed after restart
|
|
Translations update from Weblate
|
|
|
|
Expanded pin names for TinyS2 and added some new ones for functionality I forgot to add pin names for
Cleaned up mpconfigboard
|
|
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
|
|
|
|
Currently translated at 81.2% (783 of 964 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
|
|
Implement audiobusio and enhance PIO for it
|
|
|
|
|
|
|
|
* Comment on the reason for scaling by 256
* Divide by 256 instead of shifting
* fix a cast; eliminate an unneeded roundf() to get a few bytes code back
|
|
|
|
- add internal buffering
- rtc initialization fix
|
|
|
|
|
|
|
|
|
|
Update from adafruit main
|
|
On the Pico, this increases the "fill rate" of
pixels[:] = newvalues
considerably. On a strip of 240 RGB LEDs, auto_write=False, the timings
are:
|| Brightness || Before || After || Improvement ||
|| 1.0 || 117 kpix/s || 307 kpix/s || 2.62x ||
|| 0.07 || 117 kpix/s || 273 kpix/s || 2.33x ||
It's worth noting that even the "before" rate is fast compared to the
time to transmit a single neopixel, but any time we can gain back
in the whole pipeline will let marginal animations work a little better.
To set all the pixels in this way and then show() gives a pleasant bump
to the framerate, from about 108Hz to 124Hz (1.15x)
The main source of speed-up is using integer math instead of floating
point math for the calculation of the post-scaled pixel values. A slight
secondary gain is achieved by avoiding the scaling altogether when
the scale factor is 1.0.
Because the math is not exactly the same, some scaled pixel values may
change by +- 1 RGBW "step". In practice, this is unlikely to matter.
The gains are bigger on the Pico and other M0 microcontrollers than M4
microcontrollers with floating point math in the hardware.
Happily, flash size is also improved a bit on the Pico build I did,
going from
> 542552 bytes used, 506024 bytes free in flash firmware space out of 1048576 bytes (1024.0kB).
to
> 542376 bytes used, 506200 bytes free in flash firmware space out of 1048576 bytes (1024.0kB).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|