amit-sides
24fcc3f955
Added type hints
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-08-26 20:44:27 +03:00
Scott Shawcroft
9663a227a3
Fix usb irq race
...
Run the USB background once after we hook our IRQ up in case we
missed one.
Related to #5212
2021-08-26 10:20:26 -07:00
Hosted Weblate
3756e9d9a5
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-26 19:10:05 +02:00
Hosted Weblate
7bc9bd1bf2
Merge remote-tracking branch 'origin/main' into main
2021-08-26 19:10:02 +02:00
Jonny Bergdahl
60c2f5cfdc
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1021 of 1021 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-26 19:10:02 +02:00
Wellington Terumi Uemura
17919de54e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1021 of 1021 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-26 19:10:02 +02:00
Scott Shawcroft
b36187102f
Merge pull request #5234 from dhalbert/validate-WaveFile-buffer-arg
...
restrict WaveFile buffer size to 8-1024
2021-08-26 10:09:56 -07:00
Durapensa
ab6f47e044
Add lolin_s2_mini to build.yml for board Lolin S2 Mini
2021-08-26 12:03:24 -04:00
Durapensa
b9c7badb56
fix for default names for BUTTON, NEOPIXEL, SDA/SCL, LED, SPI MOSI/MISO/SCK
2021-08-26 10:31:35 -04:00
Durapensa
ffaad96310
fix for GPIO0 / CIRCUITPY_BOOT_BUTTON
2021-08-26 10:15:15 -04:00
Dan Halbert
a608934f31
restrict WaveFile buffer size to 8-1024
2021-08-26 09:34:02 -04:00
Durapensa
da1e29d9e4
fix in pins.c for build
2021-08-26 08:59:02 -04:00
Durapensa
5211a492cc
Merge branch 'main' of github.com:adafruit/circuitpython into s2mini
2021-08-26 08:28:05 -04:00
Hosted Weblate
ba4277d823
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-26 05:52:21 +02:00
microDev
5425454341
Merge pull request #5208 from jepler/small-memory-savings
...
Small memory savings
2021-08-26 09:22:14 +05:30
microDev
1d74a6e18f
Merge pull request #5230 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-08-26 09:14:59 +05:30
Hosted Weblate
b5da3250e0
Merge remote-tracking branch 'origin/main' into main
2021-08-26 05:44:07 +02:00
microDev
4805a13b26
Merge pull request #5231 from capellini/mp-register-module-pybadge-a
...
Convert more modules to use MP_REGISTER_MODULE
2021-08-26 09:14:01 +05:30
Durapensa
c6ab3b3a97
nitial try at Lolin S2 Mini board definition
2021-08-25 21:16:22 -04:00
Durapensa
52001f1678
Initial try at Lolin S2 Mini board definition
2021-08-25 21:08:42 -04:00
Rob Capellini
ad103ac6f1
Convert more modules to use MP_REGISTER_MODULE
...
Convert adafruit_bus_device, adafruit_pixelbuf, analogio, atexit, audiobusio, audiocore, audioio, audiomixer, and audiomp3 modules to use MP_REGISTER_MODULE.
Related to #5183 .
2021-08-25 20:48:55 -04:00
Hosted Weblate
5255a81344
Merge remote-tracking branch 'origin/main' into main
2021-08-26 00:51:00 +02:00
Scott Shawcroft
13cba8a17f
Merge pull request #5224 from dhalbert/adafruit_led_glasses_nrf52840
...
Add adafruit_led_glasses_nrf52840
2021-08-25 15:50:56 -07:00
Hosted Weblate
5ce73f896a
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-26 00:35:37 +02:00
Scott Shawcroft
c05d3035dc
Merge pull request #5227 from jepler/esp32-nvm
...
esp32s2: rework nvm/nvs storage
2021-08-25 15:35:30 -07:00
Amit Sides
98f026fbb4
Fixing comments for PR
2021-08-25 15:07:19 -07:00
WarmBit
da644bebb3
add warmbit_bluepixel
2021-08-25 15:16:59 -06:00
Jeff Epler
7098d4ccd7
8Kib may align better with flash blocks than 9KiB
2021-08-25 13:39:56 -05:00
Scott Shawcroft
d8b3d5af06
Merge pull request #5225 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-08-25 10:42:49 -07:00
Jeff Epler
4621cd54fb
esp32s2: update how nvm is mapped onto nvs
...
The old way mapped each byte of nvm onto a distinct nvs key, but this
allowed storage of only a very small number of bytes out of the
theoretical capacity.
Reworked like this, about half of the nvs capacity can be used for
nvm, so you're guaranteed the ability to store 9kB this way.
2021-08-25 11:39:45 -05:00
Jeff Epler
870aa2d79d
espidf: Add function to erase nvs
...
This may be necessary for some cases of migrating from 6.3.0 to 7.0.0.
2021-08-25 11:37:58 -05:00
Wellington Terumi Uemura
01a935e52f
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1019 of 1019 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-25 17:34:48 +02:00
Dan Halbert
c0c9892887
Add adafruit_led_glasses_nrf52840
2021-08-25 11:29:31 -04:00
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