Open felixdoerre opened 11 months ago
Is this actually necessary? I would have expected reset_peripherals()
to be taking care of wiping everything
I added it locally, because the cyw43 driver from micropython uses those dma channels, and without the cleanup the driver didn't work and hang while initializing, adding this cleanup resolved the problem. And looking at the code I believe that reset_peripherals
was executed while I was testing that. I can spend some time and re-evaluate that this change is still required after everything else I've tinkered, but I believe so.
When DMA channels are not properly deinitialzed, booted software that uses them, might choke on it.