rgrr / yapicoprobe

Yet Another Picoprobe
124 stars 12 forks source link

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

Open JimmyPedersen opened 1 year ago

JimmyPedersen commented 1 year ago

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?

rgrr commented 1 year ago

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.