Dan Halbert 59b89fdc5c Fix various audio DMA issues:
RP2040 and SAMD51:
- Detect when DMA has finished, and stop DMA audio explicitly.
- Do not accidentally reuse `first_buffer` supplied by WaveFile or RawSample. Always realloc `first_buffer` and `second_buffer`

RP2040:
- When audio playing is stopped, write a final zero to the output register. This prevents residual PWM tones.
- Handle buffer size for 8-bit samples properly for 16-bit output.
- Fail on some edge cases (which may not be possible at the moment).
2021-08-09 09:47:13 -04:00
..
2021-08-09 09:47:13 -04:00
2021-03-15 19:27:36 +05:30
2021-07-21 11:02:55 -07:00
2021-01-20 19:16:56 -08:00
2021-08-09 09:47:13 -04:00
2021-08-09 09:47:13 -04:00
2021-03-15 19:27:36 +05:30
2021-01-20 19:16:56 -08:00
2021-03-18 16:55:42 -07:00
2021-03-15 19:27:36 +05:30
2021-07-21 11:02:55 -07:00
2021-03-18 16:55:42 -07:00
2021-03-15 19:27:36 +05:30
2021-01-20 19:16:56 -08:00
2021-03-15 19:27:36 +05:30
2021-01-20 19:16:56 -08:00
2021-01-20 19:16:56 -08:00

RP2040
==================

This port supports many development boards that utilize RP2040 chips. See
https://circuitpython.org/downloads for all supported boards.


Building
--------

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/


Port Specific modules
---------------------

.. toctree::
    ../../shared-bindings/rp2pio/index