Commit graph

38097 commits

Author SHA1 Message Date
775addafd3 audiocore: remove support for "single buffer"
This is only needed on samd51, and most of the complexity can be
implemented just once instead of in each audio sample type.

This saves 968 bytes flash on feather rp2350. More importantly,
it'll save some fraction as much on samd21 where stereo audio output
is not supported at all (but savings will be less overall because
fewer audiosample types are available)

Other builds besides raspberrypi are broken & raspberrypi is not even
tested.
2024-12-09 09:26:19 -06:00
80dff32543 raspberrypi: remove unused single_channel_output
None of the audio output methods need this on this chip.
2024-12-09 09:24:21 -06:00
d2ce88ecd2
Merge pull request #9867 from jepler/espressif-mbedtls-psram 2024-12-05 09:59:24 -06:00
8eb1103e2b
Merge pull request #9861 from pdw-mb/mixervoice-loop-property 2024-12-05 09:59:05 -06:00
b481f1fa8e
Merge pull request #9866 from jepler/mp3decoder-reopen-glitch 2024-12-05 09:58:46 -06:00
413e577220
Merge branch 'main' into mixervoice-loop-property 2024-12-05 08:37:54 -06:00
5e204c9a95
Merge branch 'main' into mp3decoder-reopen-glitch 2024-12-05 08:37:49 -06:00
Dan Halbert
2bb9fc4af0
Merge pull request #9865 from jepler/rgbmatrix-cleanup-failure
rgbmatrix: Avoid leaving an incompletely configured display bus
2024-12-04 22:21:05 -05:00
bc465e51d7 Disable terminal on itsybitsy depending on language
.. as was already done for metro m4 express.

Soon we're likely to need to do this across the board for 512kB flash
SAMD51 parts.
2024-12-04 20:26:14 -06:00
Scott Shawcroft
76a2a49d94
Merge pull request #9862 from jepler/audiomixer-nonstandard-setter
no need to support kwargs in a setter
2024-12-04 13:51:15 -08:00
Scott Shawcroft
7016555e0f
Merge pull request #9860 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-12-04 13:49:46 -08:00
79f34566bf
Merge branch 'main' into mixervoice-loop-property 2024-12-04 14:43:27 -06:00
a600eeba77 espressif: Allow mbedtls data in psram if available
Closes: #8968
2024-12-04 14:40:10 -06:00
bc691c21fb
Merge branch 'main' into rgbmatrix-cleanup-failure 2024-12-04 13:57:13 -06:00
Hosted Weblate
d0c4834a53
Merge remote-tracking branch 'origin/main' 2024-12-04 19:57:07 +00:00
Wellington Terumi Uemura
9c1ade8ddf
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (999 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2024-12-04 19:57:06 +00:00
053cdfc158
Merge pull request #9864 from relic-se/remove-kwarg-in-setters 2024-12-04 13:56:59 -06:00
22abf2df02 MP3Decoder: clear out DSP data when opening a new stream
The new test verifies that the first part of an MP3 decodes as
expected even when the "open" method is used.

Closes: #9705
2024-12-04 13:55:09 -06:00
Paul Warren
372759f728 shared-module/audiomixer: expose MixerVoice->loop property. 2024-12-04 19:41:57 +00:00
ed5c0bd465 rgbmatrix: Avoid leaving an incompletely configured display bus
I did not reproduce the exact problem reported; however, I reproduced
that a failure to construct an RGBMatrix object would leave CircuitPython
in an inconsistent state with a display bus registered but not working:

```py
>>> import rgbmatrix, board; rgbmatrix.RGBMatrix(width=64, bit_depth=1, rgb_pins=[], addr_pins=[], clock_pin=board.A0, latch_pin=board.A1, output_enable_pin=board.A2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: The length of rgb_pins must be 6, 12, 18, 24, or 30
>>> import rgbmatrix, board; rgbmatrix.RGBMatrix(width=64, bit_depth=1, rgb_pins=[], addr_pins=[], clock_pin=board.A0, latch_pin=board.A1, output_enable_pin=board.A2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Too many display busses; forgot displayio.release_displays() ?
```

After the fix the second call also results in a ValueError, not a
RuntimeError, which is correct.

Closes #9674
2024-12-04 12:11:45 -06:00
dcooperdalrymple
412737d677 Removed unneeded kwarg handler in setters. 2024-12-04 11:45:31 -06:00
8a5bfc15b5 no need to support kwargs in a setter
Noticed during review of #9861
2024-12-04 10:08:19 -06:00
Andi Chandler
d60b2335d5
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (999 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2024-12-04 14:00:28 +01:00
Scott Shawcroft
407a31f710
Merge pull request #9853 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-12-03 10:01:39 -08:00
Hosted Weblate
197490817c
Merge remote-tracking branch 'origin/main' 2024-12-02 21:36:47 +00:00
Scott Shawcroft
0c9aa80603
Merge pull request #9851 from FoamyGuy/vectorio_rotation_fix
fix vectorio rotation issue
2024-12-02 13:36:41 -08:00
Hosted Weblate
355ff42a2d
Merge remote-tracking branch 'origin/main' 2024-12-02 22:35:30 +01:00
Scott Shawcroft
4e3cd7de9e
Merge pull request #9849 from jepler/statemachine-sideset-pindirs
rp2pio: Add `sideset_pindirs` parameter to StateMachine constructor
2024-12-02 13:35:26 -08:00
Hosted Weblate
50d1a7abdf
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/
2024-12-02 22:18:24 +01:00
Scott Shawcroft
cfd4117d96
Merge pull request #9828 from JetForMe/main
Added basic Espressif PDM microphone support #7454
2024-12-02 13:18:13 -08:00
Scott Shawcroft
617915ee80
Merge pull request #9840 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-12-02 11:37:34 -08:00
Hosted Weblate
c9b1993fa5
Merge remote-tracking branch 'origin/main' 2024-12-02 19:52:51 +01:00
Mark
9d0debf9f1
Merge pull request #9850 from todbot/main
Add Music Thing Modular Workshop System
2024-12-02 12:52:42 -06:00
foamyguy
526b151e93 disable overflowing 2024-12-02 07:20:38 -06:00
Tod Kurt
b86ff9f195 remove redudant CIRCUITPY_AUDIODELAYS, from @gamblor21 comments 2024-12-01 21:11:59 -08:00
Tod Kurt
174709fbd4 fixes from @gamblor21 comments 2024-12-01 20:36:08 -08:00
foamyguy
c63e565334 move 'after' print to cut a duplicate line 2024-12-01 21:42:51 -06:00
foamyguy
a32a318ab3 fix vectorio rotation issue 2024-12-01 20:37:19 -06:00
Tod Kurt
bcc7e15607 fix pre-commit not working on commit 2024-12-01 12:14:10 -08:00
Tod Kurt
34dbde184d update USB VID/PID and vendor/product strings per @TomWhitwell 2024-12-01 12:05:43 -08:00
92eb0edc9d rp2pio: Add sideset_pindirs parameter to StateMachine constructor
This allows use of PIO programs that need to control pin *direction*
from the side set portion of the instruction.
2024-12-01 11:28:31 -06:00
Tod Kurt
7d1abc9fdd first cut at mtm_computer 2024-11-30 14:48:46 -08:00
Rick M
66c3ee8e44 Added CIRCUITPY_AUDIOBUSIO_PDMIN guard macros to allow code to build on boards that don't support PDMIn. 2024-11-27 19:58:58 -08:00
Hosted Weblate
98cc829619
Merge remote-tracking branch 'origin/main' 2024-11-27 20:21:43 +00:00
68cdc535b2
Merge pull request #9833 from jepler/floppsy-revb 2024-11-27 14:21:38 -06:00
Hosted Weblate
85b7f7a725
Merge remote-tracking branch 'origin/main' 2024-11-27 20:15:58 +00:00
Scott Shawcroft
9659673e9c
Merge pull request #9667 from Brandon-Hurst/port/max32690
Add support for ADI MAX32690 microcontroller
2024-11-27 12:15:50 -08:00
Olivier Deveault
16ba2f0614
Translated using Weblate (French)
Currently translated at 95.0% (949 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2024-11-27 21:00:29 +01:00
Brandon Hurst
24b53f5411 Move configuration from board.c to supervisor/port.c (non-MCU specific) and peripherals/max32690 (mcu-specific) 2024-11-27 11:55:42 -08:00
Scott Shawcroft
67a818b861
Merge pull request #9834 from dhalbert/metro-rp2350b-rev-e
update metro RP2350B to rev E
2024-11-27 10:15:56 -08:00