Making WP7607 appear as mass storage device

Hi,

For a usecase I want my WP7607 to appear as a mass storage device when I plug it into a host PC (or any device that supports USB mass storage). I found an article that does this on a RPI: MAKE A PI ZERO W SMART USB FLASH DRIVE

I understand that I need to do modprobe g_mass_storage. But modules.dep is empty so that command returns an error. I checked Legato KConfig options but this doesn’t mention the option to customize any USB options.

Is it possible to add mass storage support to Legato? If yes, how?