PetteriAimonen opened a new pull request, #11356:
URL: https://github.com/apache/nuttx/pull/11356

   ## Summary
   
   The option `CONFIG_USBDEV_SOFINTERRUPT` has existed in architecture USB 
drivers for a long time now.
   The implementation was not fully finished though, as Kconfig entry was 
missing and the interrupt handler did nothing.
   
   Previously we had a local patch to call a custom callback function, used to 
synchronize clocks between USB devices.
   This pull request adds a generally usable `usbdev_sof_irq()` callback that 
would be implemented by board logic.
   
   ## Impact
   
   No impact it `CONFIG_USBDEV_SOFINTERRUPT` is not enabled (as it typically 
wouldn't be, as it wasn't in Kconfig previously).
   When it is enabled, `usbdev_sof_irq()` function must be added to board logic.
   
   ## Testing
   
   Tested on custom STM32H417 board.
   Implementations for other hardware was added based on similar structure of 
code.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to