rgrr/yapicoprobe

Feature request: Enable/Disable MSC enumeration via configuration (MiniINI)

Opened this issue · 1 comments

It would be great to be able to disable the MSC enumeration, when not needed, as it makes windows file explorer window pop up (which is anoying).
I'm aware that it's possible to remove it while compiling but I sometime use the feature so I rather not completely remove it.
Would this be possible?

I'm open for a pull request ;-)

The actual key lies in usb_descriptors.c where the compile options are taken into account.

You just have to do it dynamically. Several interfaces will also change, such like CDC_DEBUG_N. But that should be all.