b4be2317cb
By pausing audio during flash writes, the worst screeching of #8121 is avoided. I don't consider this a full fix, but it greatly improves the by far most common scenario in which the problem occurs. Tested on rp2040 prop feather with a midi synth playing arpeggios. When writing to the flash e.g., with ``` dd bs=512 count=32 if=/dev/zero of=/media/jepler/CIRCUITPY/boop ``` the audio goes "tap tap tap tap" during the flash write instead of the squawking. This isn't a 100% fix; it will still glitch out, including during USB enumeration which must be taking a long time without servicing background tasks. Add a delay if not usb-connected at startup ameliorates this greatly. |
||
---|---|---|
.. | ||
bindings | ||
boards | ||
common-hal | ||
lib | ||
lwip_inc | ||
lwip_src | ||
mbedtls | ||
peripherals | ||
pioasm | ||
sdk@2ccab115de | ||
sdk_config/pico | ||
supervisor | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
boot_stage2.ld | ||
flash_info.h.jinja | ||
gen_stage2.py | ||
link.ld | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.rst | ||
stage2.c.jinja |
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