Skip to content

Conversation

@felixdoerre
Copy link

When DMA channels are not properly deinitialzed, booted software that uses them, might choke on it.

@usedbytes
Copy link
Owner

Is this actually necessary? I would have expected reset_peripherals() to be taking care of wiping everything

@felixdoerre
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants