You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ports/raspberrypi/audio_dma.c uses defines isr_dma_0() to handle all DMA 0 interrupts. Right now it's both audio and PIO. This is not recommended (see #9868 (comment)). Change to use irq_add_shared_handler() to set up handlers as needed.
We should document somewhere as well which DMA irq's are ok to share and which are used exclusively. RP2040 has DMA 0 and DMA 1. RP2350 has 0 through 3.
The text was updated successfully, but these errors were encountered:
ports/raspberrypi/audio_dma.c
uses definesisr_dma_0()
to handle all DMA 0 interrupts. Right now it's both audio and PIO. This is not recommended (see #9868 (comment)). Change to useirq_add_shared_handler()
to set up handlers as needed.We should document somewhere as well which DMA irq's are ok to share and which are used exclusively. RP2040 has DMA 0 and DMA 1. RP2350 has 0 through 3.
The text was updated successfully, but these errors were encountered: