picocomputer / rp6502

Picocomputer 6502 firmware
BSD 3-Clause "New" or "Revised" License
85 stars 23 forks source link

TinyUSB blocks when mounting a device #35

Open rumbledethumps opened 10 months ago

rumbledethumps commented 10 months ago

TinyUSB blocks/sleeps when mounting a device. This causes things like RIA.vsync and other queued IO to not update in time. It's easy to code around this problem knowing that it happens; in most cases no changes are needed.

This is a known issue commented within TinyUSB's enum_new_device(). "TODO non blocking"

This can also be fixed with an RTOS or custom scheduler. The current plan is to wait for TinyUSB to finish their TODO.