pico-extras icon indicating copy to clipboard operation
pico-extras copied to clipboard

scanvideo.c claims fixed resources

Open Memotech-Bill opened this issue 2 years ago • 1 comments

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.

Memotech-Bill avatar Mar 09 '23 11:03 Memotech-Bill

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

kilograham avatar Mar 09 '23 17:03 kilograham