johannes-nivus opened a new pull request #1531:
URL: https://github.com/apache/incubator-nuttx/pull/1531


   ## Summary
   Added USB MSC state change notifier in notifier work queue.
   Added USB MSC automount for Freedom K28 using the above.
   
   ## Impact
   When a state change on USB mass storage class is detected, a notification is 
sent to the notifier work queue.
   The qualifier tells if it is a connect or disconnect event.
   The corresponding Kconfig option is USBHOST_MSC_NOTIFIER.
   
   ## Testing
   Introduced USB automount for Kinetis Freedom K28 board. Works only for one 
USB device.
   
   Possible improvement:
   I could imagine providing another field in the notifier struct would allow 
for sending at least the connection number (or sdchar) with the event, which 
would allow to determine the exact block device we want to mount.
   


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

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


Reply via email to