You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "kasjer (via GitHub)" <gi...@apache.org> on 2026/10/20 16:24:54 UTC
[PR] hw/usb/tinyusb/pic32mz: Enable interrupts when OS is not started [mynewt-core]
kasjer opened a new pull request, #3804:
URL: https://github.com/apache/mynewt-core/pull/3804
When TinyUSB is started without OS scheduling (e.g. USB DFU in bootloader triggered by boot pin) os_start() is never called, so interrupts stay globally disabled on PIC32 (Status.IE is 0 after reset, unlike Cortex-M where interrupts are enabled out of reset). USB interrupt was never serviced, device did not enumerate and bootloader was stuck in tud_task() loop.
Enable interrupts in tinyusb_hardware_init() when OS_SCHEDULING is 0.
Assisted-by: Claude:claude-opus-5-5
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] hw/usb/tinyusb/pic32mz: Enable interrupts when OS is not started [mynewt-core]
Posted by "kasjer (via GitHub)" <gi...@apache.org>.
kasjer merged PR #3804:
URL: https://github.com/apache/mynewt-core/pull/3804
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org