Hi,
I am working on ncs, I am using USB cdc acm and external flash in my project. My project requirement is when I will send command over USB cdc acm through PC then USB mass storage device must mount in windows.
I merged the sample code of cdc acm(path: zephyr/samples/subsys/usb/cdc_acm) and mass storage device(path: zephyr/samples/subsys/usb/mass), Usb mass storage device and Usb serial device is showing in PC at same time.
When I commented out the below line from project configuration, then USB mass storage device is not showing in computer.
#CONFIG_USB_MASS_STORAGE=y CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y #CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
So my question is how to enable USB mass storage device during the application runtime. I could not found any api for this.
Thanks.