summaryrefslogtreecommitdiff
path: root/examples/usercmodule/cppexample
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2023-10-25 11:04:54 +1100
committerDamien George <damien@micropython.org>2023-11-09 12:27:33 +1100
commit2d363a23cb9e825200e772f973eab921a69e0646 (patch)
tree349f4d1f8c91454a7fbae3f68489be9a139454f5 /examples/usercmodule/cppexample
parentbbc5a18d092425bee802d88a5c9ed3516056bdd5 (diff)
shared/tinyusb: Schedule TinyUSB task function from dcd_event_handler.
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>
Diffstat (limited to 'examples/usercmodule/cppexample')
0 files changed, 0 insertions, 0 deletions