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

   ## Summary
   
   driver/usbdev: support userspace to access ep0 by device node, eg: 
/dev/mtp/ep0
   
   Packets with receivers being interfaces or endpoints in the EP0 setup packet 
are sent to the application layer(because the usbdev fs driver is common usb 
class driver, don't deal different class logic), where they are received and an 
ACK is sent back. 
   
   To achieve this, a character device node for EP0 is created in usbdevfs, 
along with a ctrlreq queue. The setup packet is saved to this queue, and the 
application is notified through the node.
   
   ## Impact
   
   Add usb ep0 device node
   
   ## Testing
   
   mtp
   


-- 
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