59b89fdc5c
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). |
||
---|---|---|
.. | ||
asf4@84f56af132 | ||
asf4_conf | ||
bindings/samd | ||
boards | ||
common-hal | ||
freetouch@b6859a349e | ||
modules | ||
peripherals@a7e39c4d01 | ||
sd_mmc | ||
supervisor | ||
tools | ||
.gitattributes | ||
.gitignore | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
eic_handler.c | ||
eic_handler.h | ||
fatfs_port.c | ||
ld_defines.c | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.rst | ||
reset.c | ||
reset.h | ||
samd_peripherals_config.h | ||
timer_handler.c | ||
timer_handler.h |
SAMD21 and SAMD51 ================== This port supports many development boards that utilize SAMD21 and SAMD51 chips. See https://circuitpython.org/downloads for all supported boards. Building -------- For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/ Debugging --------- For debugging instructions see this guide: https://learn.adafruit.com/debugging-the-samd21-with-gdb Port Specific modules --------------------- .. toctree:: ../../shared-bindings/samd/index