Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using DMA channels outside of piolib #9

Open
willgorman opened this issue May 19, 2024 · 1 comment
Open

Using DMA channels outside of piolib #9

willgorman opened this issue May 19, 2024 · 1 comment

Comments

@willgorman
Copy link

I'm trying to port the pico unicorn library to tinygo now that pio is supported but it uses DMA channels in a way that I'm not sure is currently allowed by the piolib package. I don't see anything exported from piolib that allows channels to be claimed and configured. Is DMA only intended to be used internally in piolib or would it be ok to submit a PR to export it?

@soypat
Copy link
Collaborator

soypat commented Sep 1, 2024

Yes, for now it is only internal use. Ideally DMA should be in tinygo machine package. Need to consolidate this in future. Tagging @aykevl

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

No branches or pull requests

2 participants