Commit Graph

25035 Commits

Author SHA1 Message Date
microDev
54d7ddc121
Merge pull request #5223 from lesamouraipourpre/patch-1
Minor docs fix in FourWire.c
2021-08-25 16:44:41 +05:30
James Carr
86d8d9f6a7
Minor docs fix in FourWire.c 2021-08-25 11:23:33 +01:00
microDev
8a89689a5a
Merge pull request #5221 from capellini/displayio-terminalio-fontio-mp_register_module
Use MP_REGISTER_MODULE with displayio, terminalio, and fontio
2021-08-25 08:42:56 +05:30
microDev
df13bef3a1
Merge pull request #5220 from tannewt/fix_esp_i2c_display
Allocate I2C mutex with IDF
2021-08-25 08:42:11 +05:30
microDev
5484a2de25
Merge pull request #5219 from tannewt/multiple_status_dotstars
Support multiple status dotstars
2021-08-25 08:38:09 +05:30
microDev
cd912e135e
Merge pull request #5218 from jepler/issue-5092
Fix audio sample rate on rp2040
2021-08-25 08:31:04 +05:30
Rob Capellini
deb8e2a50a Remove comment that no longer applies 2021-08-24 20:55:39 -04:00
Rob Capellini
17af5cd492 Use MP_REGISTER_MODULE with displayio, terminalio, and fontio
Convert from using MICROPY_PORT_BUILTIN_MODULES_STRONG_LINKS to using MP_REGISTER_MODULE for displayio, terminalio, and fontio modules.

Related to #5183.
2021-08-24 20:07:10 -04:00
Scott Shawcroft
0552ce2d3b
Allocate I2C mutex with IDF
This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.

Fixes #4962
2021-08-24 16:06:14 -07:00
Scott Shawcroft
f9f3894888
Support multiple status dotstars
Only supporting one left a white dotstar stranded.

Fixes #5170
2021-08-24 14:35:11 -07:00
Jeff Epler
bef07961ab raspberrypi: audiopwmout: subtle for #5092
I noticed that the loop over 65535 possible denominators took a long time,
causing up to 100ms wait for a sound sample to start playing!

This algorithm, adapted from an algorithm shown in Python's fractions.py,
is guaranteed to find the best denominator in a small number of steps
(I think log2-many steps but I'm not sure). In practice, it means the time
between samples playing is just 10ms, and some of that is recreating the
sine wave sample in Python each time.

It often finds the same solution as the old code, but sometimes it finds
one a bit better since it compares the ratios using float point instead
of integer arithmetic.
2021-08-24 16:33:20 -05:00
Scott Shawcroft
a5f2f6e1b1
Two tweaks to BLE workflow
1. Use autoreload for restarting after a write. This gives time for
   a follow up command before restarting BLE.
2. Switch to recursive deletion of directories. This greatly
   simplifies deleting directories with contents.

Fixes https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer/issues/7
2021-08-24 13:57:42 -07:00
Jeff Epler
77b0c76a37 raspberrypi: audiopwmout: simple fix for #5092 2021-08-24 15:54:06 -05:00
microDev
da320c30f0
Merge pull request #5214 from dhalbert/usb-hid-device-args-fix
Fix incorrect subscription in `usb_hid.Device` constructor
2021-08-24 23:30:41 +05:30
Dan Halbert
1685e1a996 ../../shared-bindings/usb_hid/Device.c 2021-08-24 12:36:06 -04:00
Jeff Epler
f1a3a864ac Merge remote-tracking branch 'origin/main' into small-memory-savings 2021-08-24 09:21:09 -05:00
microDev
02bbb204e0
Merge pull request #5204 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-24 15:05:57 +05:30
Hosted Weblate
8ad0400533
Merge remote-tracking branch 'origin/main' into main 2021-08-24 08:58:15 +02:00
microDev
8c2a16e65c
Merge pull request #5207 from lesamouraipourpre/pixel-luma
Remove the `pixel_luma` parameter from `compute_tricolor`
2021-08-24 12:28:10 +05:30
Hosted Weblate
921ea7ff66
Merge remote-tracking branch 'origin/main' into main 2021-08-24 08:54:06 +02:00
microDev
2e41550770
Merge pull request #5210 from DavePutz/issue_5091
Change optimizer option so RP2040 DEBUG builds work
2021-08-24 12:24:01 +05:30
Hosted Weblate
6e13949cb4
Merge remote-tracking branch 'origin/main' into main 2021-08-24 08:48:07 +02:00
Jeff Epler
fe695372b3
Translated using Weblate (Japanese)
Currently translated at 53.0% (541 of 1019 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2021-08-24 08:48:06 +02:00
microDev
66404a3107
Merge pull request #5209 from dhalbert/thunderpack-fix-and-pulseout-doc
shrink thunderpack_v11; fix PulseOut doc
2021-08-24 12:18:01 +05:30
root
0e3aa27794 Change optimizer option so RP2040 DEBUG builds work 2021-08-23 21:37:34 -05:00
Dan Halbert
ce5e267143 shrink thunderpack_v11; fix PulseOut doc 2021-08-23 21:57:29 -04:00
Jeff Epler
6d26225b60 objgenerator: Unify two messages 2021-08-23 20:27:20 -05:00
Jeff Epler
5c9f7e2fe4 simplify printing a compressed message 2021-08-23 20:23:23 -05:00
Jeff Epler
4a9ad8a942 Translate & compress some repl messages 2021-08-23 20:23:23 -05:00
Jeff Epler
c310a618e8 objtraceback: merge with an existing message in objtype 2021-08-23 20:23:23 -05:00
Jeff Epler
bd6b8b36da empty commit 2021-08-23 20:23:23 -05:00
Jonny Bergdahl
3a327cd9ad
Translated using Weblate (Swedish)
Currently translated at 100.0% (1019 of 1019 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-24 01:02:20 +02:00
Hosted Weblate
3e244854fa
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-23 22:20:45 +02:00
Hosted Weblate
00e7eda99e
Merge remote-tracking branch 'origin/main' into main 2021-08-23 22:20:42 +02:00
Dan Halbert
7587a521cb
Merge pull request #5145 from FoamyGuy/bitmaptools_paint_fill
Bitmaptools boundary_fill
2021-08-23 16:20:38 -04:00
Hosted Weblate
84c13e4f2e
Merge remote-tracking branch 'origin/main' into main 2021-08-23 22:20:15 +02:00
Jeff Epler
de021c4fd2
Translated using Weblate (French)
Currently translated at 93.4% (950 of 1017 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-08-23 22:20:15 +02:00
Dan Halbert
fa9a98d96c
Merge pull request #5206 from microDev1/patch
Turn off `synthio` on `pca10100`
2021-08-23 16:20:10 -04:00
Hosted Weblate
cdc9d2dcef
Merge remote-tracking branch 'origin/main' into main 2021-08-23 21:52:20 +02:00
Scott Shawcroft
6d49a9f0c5
Merge pull request #5205 from jepler/deprecate-vertical-scroll
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 12:52:12 -07:00
microDev
533eab5b7f
turn off synthio on pca10100 2021-08-23 23:33:55 +05:30
Hosted Weblate
d871b2c559
Merge remote-tracking branch 'origin/main' into main 2021-08-23 19:28:04 +02:00
Scott Shawcroft
935888927e
Merge pull request #5196 from dhalbert/samd-audio-fixes
improve SAMD audio DMA
2021-08-23 10:27:59 -07:00
Hosted Weblate
6f05591f66
Merge remote-tracking branch 'origin/main' into main 2021-08-23 18:46:18 +02:00
Scott Shawcroft
6f9078c546
Merge pull request #5202 from dhalbert/nrf-background-callback-critical-section
nrf: remove critical section around sd_app_evt_wait()
2021-08-23 09:46:12 -07:00
Hosted Weblate
923fb44cda
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-23 16:19:57 +02:00
Hosted Weblate
7a170c8a79
Merge remote-tracking branch 'origin/main' into main 2021-08-23 16:19:54 +02:00
Jeff Epler
f55e79f70d
Translated using Weblate (Chinese (Pinyin))
Currently translated at 98.3% (1000 of 1017 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-08-23 16:19:54 +02:00
Jeff Epler
c2ee527605
Translated using Weblate (Dutch)
Currently translated at 78.8% (802 of 1017 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2021-08-23 16:19:54 +02:00
Jeff Epler
1f3ebd4e7c
Translated using Weblate (Swedish)
Currently translated at 100.0% (1017 of 1017 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-23 16:19:53 +02:00