Using USB mass storage in bare metal mode

Hi,

would it be possible / are there any libraries to use if you wanted to use USB mass storage in bare metal mode?

Platforms I am interested in are the HiFive Unleashed, HiFive1 Rev B, and the Arty A7 flashed as an E31.

/Mike