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

scanvideo.c claims fixed resources #60

Open
Memotech-Bill opened this issue Mar 9, 2023 · 1 comment
Open

scanvideo.c claims fixed resources #60

Memotech-Bill opened this issue Mar 9, 2023 · 1 comment
Assignees

Comments

@Memotech-Bill
Copy link

scanvideo.c makes claims for fixed hardware resources, specifically PIO0, low numbered DMA channels and low numbered state machines. However these may have already been claimed for other services.

Ideally the code should be modified to use the claim_unused routines.

If that is not possible, at least used fixed high number DMA channels and state machines, which would be the last resources to be claimed by the claim_unused routines.

@kilograham kilograham self-assigned this Mar 9, 2023
@kilograham
Copy link
Contributor

kilograham commented Mar 9, 2023

yeah, dynamic claiming would be a bit of a change (that may slow things down), but we should at least allow the user to override all the #defines

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