mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 01:10:36 +02:00
dcd_event_handler() is called from the IRQ when a new DCD event is queued for processing by the TinyUSB thread mode task. This lets us queue the handler to run immediately when MicroPython resumes. Currently this relies on a linker --wrap hack to work, but a PR has been submitted to TinyUSB to allow the function to be called inline from dcd_event_handler() itself. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.