Commit Graph

19204 Commits

Author SHA1 Message Date
Scott Shawcroft 191b143e7b
Add PWM based audio playback
See
https://learn.adafruit.com/circuitpython-essentials/circuitpython-audio-out
to get started.

Fixes #4037
2021-02-09 15:38:33 -08:00
Scott Shawcroft b19c700d4a
Merge pull request #4165 from DavePutz/issue_4143
Issue 4143 - Fixed marking a PWM slice incorrectly as variable frequency
2021-02-09 14:30:39 -08:00
root 9a28f0bf45 Fix check for variable PWM frequency 2021-02-09 15:22:59 -06:00
Scott Shawcroft cd05aa5223
Merge pull request #4163 from jepler/spi-sharing-note
sdcardio:  add a note about sharing the SPI bus with SD cards and other devices
2021-02-09 11:42:22 -08:00
Scott Shawcroft f88357a5df
Merge pull request #4150 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-09 11:38:53 -08:00
Jeff Epler ba2b65586f sdcardio: add a note about sharing the SPI bus with SD cards and other devices
Similar to https://github.com/adafruit/Adafruit_CircuitPython_SD/pull/44
2021-02-09 10:07:21 -06:00
Hosted Weblate c53155c9d6 Merge remote-tracking branch 'origin/main' into main 2021-02-09 15:03:46 +01:00
hexthat fd3f5708dc
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (956 of 956 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-02-09 15:03:46 +01:00
Wellington Terumi Uemura cfcc0f1843
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (956 of 956 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-02-09 15:03:45 +01:00
Dan Halbert 5ba28e9861
Merge pull request #4159 from dhalbert/disable-brownout-before-deep-sleep-4025
turn off brownout before deep sleep
2021-02-09 09:03:33 -05:00
Hosted Weblate 989921dd43 Merge remote-tracking branch 'origin/main' into main 2021-02-09 01:35:33 +01:00
Scott Shawcroft 6efd87b3c6
Merge pull request #4124 from m4tk/main
Add display init code for Lilygo TTGO T8 ESP32-S2
2021-02-08 16:35:27 -08:00
Hosted Weblate 9e3df2f6f2 Merge remote-tracking branch 'origin/main' into main 2021-02-09 01:33:44 +01:00
Scott Shawcroft 0ceac79dfb
Merge pull request #4048 from janderit/fix_3763_mimxrt10xx_spi
fixes: busio, SPI OS error 5 for mimxrt10xx
2021-02-08 16:29:48 -08:00
Hosted Weblate cf059b7745 Merge remote-tracking branch 'origin/main' into main 2021-02-08 23:57:38 +01:00
Dan Halbert 3c99b09993
Merge pull request #4160 from gamblor21/rp2040_neopixel_pin_fix
RP2040 Set the neopixel pin as output after PIO use
2021-02-08 17:57:30 -05:00
Hosted Weblate f6506e939f Merge remote-tracking branch 'origin/main' into main 2021-02-08 23:50:57 +01:00
Dan Halbert 3a68ac8abb
Merge pull request #3536 from pewpew-game/pew-get-ticks
Fix #3504: Don't use time module in pew.tick()
2021-02-08 17:50:44 -05:00
Hosted Weblate 2fde67ef84 Merge remote-tracking branch 'origin/main' into main 2021-02-08 22:34:22 +01:00
Dan Halbert b0ed258302
Merge pull request #4155 from jepler/rpi-pio-background
rp2pio: Transfer up to 32 bytes before checking background tasks
2021-02-08 16:34:16 -05:00
Hosted Weblate a644513150 Merge remote-tracking branch 'origin/main' into main 2021-02-08 22:25:36 +01:00
Dan Halbert f171660870
Merge pull request #4139 from hierophect/socket-accept-conn
Socket: Connect accepted sockets
2021-02-08 16:25:31 -05:00
Hosted Weblate 36e90309bc
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-02-08 22:23:28 +01:00
Hosted Weblate 5936208088 Merge remote-tracking branch 'origin/main' into main 2021-02-08 22:23:25 +01:00
Dan Halbert be500fd15c
Merge pull request #4136 from hierophect/socket-portmax
Socket: fix inconsistencies in argument types
2021-02-08 16:23:20 -05:00
Hosted Weblate 581bd2c137 Merge remote-tracking branch 'origin/main' into main 2021-02-08 22:22:49 +01:00
Alvaro Figueroa d96f2fd2a5
Translated using Weblate (Spanish)
Currently translated at 90.5% (865 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-02-08 22:21:55 +01:00
Dan Halbert c8cf1258ac
Merge pull request #4154 from LuminousOwl/fix-max-pio-instructions
Fix maximum PIO instructions
2021-02-08 16:21:49 -05:00
gamblor21 386b49c3e1 Set the pin as output after PIO use 2021-02-08 15:13:37 -06:00
Dan Halbert c3a1bd8f13 turn off brownout before deep sleep 2021-02-08 12:40:20 -05:00
DavePutz cec921f374
Merge pull request #40 from adafruit/main
Update from adafruit main
2021-02-08 10:39:26 -06:00
Hosted Weblate 785fb0e161 Merge remote-tracking branch 'origin/main' into main 2021-02-08 17:34:17 +01:00
Dan Halbert 482e583077
Merge pull request #4140 from FoamyGuy/bitmap_font_path_fix
fix bitmap_font path in display resource gen
2021-02-08 11:34:12 -05:00
Hosted Weblate 7abbfb239d Merge remote-tracking branch 'origin/main' into main 2021-02-08 17:33:13 +01:00
Dan Halbert f66caa29b9
Merge pull request #4146 from gamblor21/busdevice_write_read_fix
Fix write_then_readinto in adafruit_bus_device I2CDevice
2021-02-08 11:33:06 -05:00
Hosted Weblate 154496ab16 Merge remote-tracking branch 'origin/main' into main 2021-02-08 17:29:48 +01:00
Lucian Copeland 1043d619fd
Merge pull request #4148 from Neradoc/fix-recv_into
Fix socket.recv_into receiving one less byte than expected
2021-02-08 11:29:41 -05:00
Jeff Epler 5423e4966c rp2pio: Transfer up to 32 bytes before checking background tasks
@Jerryneedell noticed that this problem affected strips short enough
to not use the DMA peripheral, thanks for the hot tip!

Instead of checking for background tasks after every byte transfer,
try up to 32 transfers before attending to background tasks.

This fixes the problem I was seeing on my 5-pixel circuit.

Closes #4135.
2021-02-08 08:35:07 -06:00
hexthat 92d76f6d2f
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (955 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-02-07 22:50:20 +01:00
Philip Jander 5bf08c503b adds: maximum retries on SPI busy 2021-02-07 17:06:46 +01:00
Philip Jander ae91b12aea chore: whitespace fixed 2021-02-07 16:59:11 +01:00
Philip Jander 127cc6204a adds: idle loop to wait for SPI not busy (mimxrt10xx) 2021-02-07 16:59:11 +01:00
Neradoc 6be2466d6f ESP32S2: Socket.recv_into only took len-1 bytes 2021-02-07 08:57:19 +01:00
gamblor21 ea4a12005a Fix write_then_readinto 2021-02-06 10:33:38 -06:00
Jason Nichols ae262cde55 Fix maximum PIO instructions 2021-02-06 10:54:25 -05:00
Dan Halbert a10ce39ae6
Merge pull request #4141 from tannewt/update_picosdk
Update to the very latest SDK w/GP15 restore
2021-02-05 23:37:11 -05:00
Scott Shawcroft 22dc7d5359
Update to the very latest SDK w/GP15 restore
Also adds unique id support

Fixes #4039 and hopefully #4107
2021-02-05 18:44:06 -08:00
Scott Shawcroft e12d38c147
Merge pull request #4134 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-05 18:17:02 -08:00
foamyguy 5c3371bd1a fix bitmap_font path in display resource gen 2021-02-05 18:05:37 -06:00
Lucian Copeland 582bc59d39 Connect accepted sockets 2021-02-05 17:32:15 -05:00