Commit Graph

27654 Commits

Author SHA1 Message Date
Limor "Ladyada" Fried
8beb908d90
Merge pull request #6329 from tekktrik/personal/mp3decoder-docs
Add note about memory usage recommendation to MP3Decoder
2022-04-30 21:13:20 -04:00
Alec Delaney
92aeabfe3a Update note in MP3Decoder 2022-04-30 15:18:05 -06:00
Alec Delaney
3d145af587 Add note about memory usage for MP3Decoder 2022-04-30 15:11:00 -06:00
Mark
b598ec0ddb
Merge pull request #6324 from tekktrik/doc/add-watchdog-timeout-docs
Add documentation for watchdog.WatchDogTimeout
2022-04-29 23:35:36 -05:00
Alec Delaney
9a23923b2d Add documentation for watchdog.WatchDogTimeout 2022-04-29 11:41:22 -06:00
Dan Halbert
816a26e8b7
Merge pull request #6321 from dhalbert/samd21-ticks-for-display
Preserve ticks for displays across VMs
2022-04-28 09:37:21 -04:00
Mark
02280b81ef
Merge pull request #6320 from mwisslead/pulseio_pulsin_buffer_overread
Fix PulseIn buffer overread in popleft #6318
2022-04-28 07:42:44 -05:00
Michael Wisslead
e63a327107 Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
Dan Halbert
90b78fe25f
Merge pull request #6319 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-27 22:27:26 -04:00
Dan Halbert
b25d810af9 Preserve ticks for displays across VMs 2022-04-27 20:06:47 -04:00
Wellington Terumi Uemura
dd5288127c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-27 20:11:12 +02:00
Dan Halbert
862188d2ee
Merge pull request #6316 from dhalbert/spacing-fix
update frozen libraries and remove stray space
2022-04-26 20:14:46 -04:00
Dan Halbert
b7541088f4 shrink circuitplayground_express_crickit 2022-04-26 17:51:47 -04:00
Dan Halbert
7a77aae4be shrink feather_m0_supersized 2022-04-26 16:52:43 -04:00
Dan Halbert
9ffd1db331
Merge pull request #6315 from dhalbert/huffman-is-in-tools
huffman is a submodule and does not need to be in requirements-dev.txt
2022-04-26 14:46:34 -04:00
Dan Halbert
e85ea4f4bb update frozen libraries 2022-04-26 14:43:48 -04:00
Dan Halbert
6b25ccf1a4 remove stray space 2022-04-26 14:26:42 -04:00
Dan Halbert
49c64d5679
Merge pull request #6308 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-26 13:19:43 -04:00
Hosted Weblate
5c185e13c5
Merge remote-tracking branch 'origin/main' 2022-04-26 19:18:58 +02:00
Dan Halbert
63abd9a9cf
Merge pull request #6312 from dhalbert/adjust-neopixel-timings
test and adjust NeoPixel timings on multiple ports
2022-04-26 13:18:47 -04:00
Hosted Weblate
2adefa1c84
Merge remote-tracking branch 'origin/main' 2022-04-26 17:40:27 +02:00
Jonny Bergdahl
6e6679b039
Translated using Weblate (Swedish)
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 17:40:27 +02:00
Dan Halbert
3a8fb4e956
Merge pull request #5852 from jepler/floppy
Add floppyio
2022-04-26 11:40:19 -04:00
Dan Halbert
7c337ca3ac huffman is a submodule and does not need to be in requirements-dev.txt 2022-04-26 10:33:37 -04:00
Hosted Weblate
ab73741b40
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/
2022-04-26 16:09:16 +02:00
Hosted Weblate
59c2ad69a2
Merge remote-tracking branch 'origin/main' 2022-04-26 16:09:13 +02:00
Dan Halbert
c8e8171cec
Merge pull request #6300 from jepler/pio-continuous
rp2040: add a background write with looping to StateMachines
2022-04-26 10:09:02 -04:00
Hosted Weblate
5b3fd8e142
Merge remote-tracking branch 'origin/main' 2022-04-26 15:00:42 +02:00
Jonny Bergdahl
339a3608a5
Translated using Weblate (Swedish)
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 15:00:42 +02:00
Wellington Terumi Uemura
c28c028f90
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-26 15:00:42 +02:00
Dan Halbert
bf2fd536d6
Merge pull request #6314 from ZodiusInfuser/motor
Added definition for an upcoming Pimoroni motor driver board
2022-04-26 09:00:35 -04:00
ZodiusInfuser
910662e833 Finalised motor 2040 pins 2022-04-26 12:56:31 +01:00
ZodiusInfuser
1ccf767112
Merge branch 'adafruit:main' into motor 2022-04-26 10:23:14 +01:00
Dan Halbert
4eeaf41edc test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04:00
Hosted Weblate
2955112b5c
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/
2022-04-25 15:09:37 +02:00
Hosted Weblate
12f823286d
Merge remote-tracking branch 'origin/main' 2022-04-25 15:09:34 +02:00
Dan Halbert
0642917cf7
Merge pull request #6270 from FoamyGuy/tilegrid_bitmap_property
adding bitmap property to TileGrid
2022-04-25 09:09:28 -04:00
Hosted Weblate
9a2f7e9693
Merge remote-tracking branch 'origin/main' 2022-04-25 15:09:13 +02:00
Dan Halbert
fdf8207e05
Merge pull request #6281 from ViktorWiz/w5100s-evb-pico
Added WIZnet board W5100s-evb-pico
2022-04-25 09:09:08 -04:00
Hosted Weblate
8f4ba256ee
Merge remote-tracking branch 'origin/main' 2022-04-25 15:07:29 +02:00
Dan Halbert
6f6f98a2e2
Merge pull request #6301 from tekktrik/doc/remove-edit-link
Add docs/templates to templates in conf.py
2022-04-25 09:07:24 -04:00
Hosted Weblate
c6bcbfc3cb
Merge remote-tracking branch 'origin/main' 2022-04-25 15:02:49 +02:00
Dan Halbert
5b7e0754dd
Merge pull request #6287 from KurtE/mimxrt_pwm
Fix PWM Support for the MIMXRT boards
2022-04-25 09:02:40 -04:00
Hosted Weblate
be1c8d16b7
Merge remote-tracking branch 'origin/main' 2022-04-24 14:33:57 +02:00
Jeff Epler
66749accc4
Merge pull request #6305 from jepler/fix-audacity-mp3
Fix audacity mp3 (erroneous EOF detected)
2022-04-24 07:33:43 -05:00
hexthat
5d1fe5f2ad
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.2% (1046 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-04-23 23:13:20 +02:00
Wellington Terumi Uemura
02a0cbb155
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1054 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-23 23:13:20 +02:00
Jeff Epler
1a89a2d366
fix doc build 2022-04-23 13:25:59 -05:00
Jeff Epler
989fb828d4
Revamp background writing
Now a 'once' and a 'loop' buffer can be specified.

'once' is useful for things like writing a neopixel strip in the background,
if you can guarantee the buffer contents are stable until the write is complete.

'loop' is useful for periodic things, like pwm & servos.

both together are useful for some special cases of pwm/servo, where a
transitional waveform needs to be played for one repetition and then
a new waveform needs to be played after that.

The API is renamed to reflect that it's a more generic 'background'
operation.
2022-04-23 13:09:36 -05:00
Jeff Epler
df5f7bc765
MP3Decoder: better handle indicating end of mp3 audio data to caller
The old formulation
 * wouldn't work if there were ID3 tags at the end
 * would choose whether to background-refill the inbuf
   based on a check before skipping to the next sync word, which
   could be incorrect.

I think it was aspect "B" that ended up triggering the erroneous EOF
problem fixed in the prior commit. This would depend on specific data
sizes and offsets occuring in the file such that a read would be
scheduled but then the buffer would be filled and left 100% full by
find_sync_word(). It's just lucky(?) that a particular person produced
such a file, and/or many files produced by Audacity have those
characteristics.
2022-04-22 14:11:02 -05:00