cancel
Showing results for 
Search instead for 
Did you mean: 

Make device appear as mass storage device

yhu
Associate

I have a STM32MP157f-dk2 board, the USB OTG port is configured by default to appear as network ethernet adapter when plugged into the PC. I would like to configure the USB OTG port to appear as a mass storage device when plugged into the PC. I am new to kernel and device tree and I wasn't able to find any specific instructions on how to do this. Would anyone be able to provide the steps to do this? Thank you.

1 REPLY 1
PatrickF
ST Employee

HI @yhu 

please have a look to
https://wiki.st.com/stm32mpu/wiki/USB_overview#How_to_configure_USB_Gadget_through_configfs

and maybe also to

https://community.st.com/t5/stm32-mpus-products/usb-composite-in-stm32mp157c/m-p/142734

 

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.