TinyUSB: Create MSC storage device with custom FS callbacks

priosjart
Posts: 1
Joined: Tue Oct 31, 2023 10:08 am

TinyUSB: Create MSC storage device with custom FS callbacks

Postby priosjart » Tue Oct 31, 2023 10:15 am

I want to use my ESP32-S3 as a USB MSC device. Instead of proxying filesystem calls to the SPI flash or SDMMC, I want to intercept them and fetch the information from a remote server. Is it possible to do this with ESP-IDF?

Help is appreciated.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: TinyUSB: Create MSC storage device with custom FS callbacks

Postby chegewara » Tue Mar 19, 2024 5:11 pm

In theory it should be possible, but may be very very slow.
You may see if you can find anything useful in this example
https://github.com/espressif/esp-usb/bl ... _storage.c

Who is online

Users browsing this forum: No registered users and 106 guests