Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinyusb MSC buffer size #41

Open
chegewara opened this issue Aug 31, 2021 · 0 comments
Open

tinyusb MSC buffer size #41

chegewara opened this issue Aug 31, 2021 · 0 comments

Comments

@chegewara
Copy link

Please increase MSC buffer size to avoid 8 times write for internal flash single sector:
https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/esp32s2/sdkconfig#L204
https://github.com/espressif/esp-iot-solution/blob/usb/add_usb_solutions/examples/usb/device/usb_msc_wireless_disk/sdkconfig.defaults#L3

With 512 bytes buffer size flash will be 8 times faster wearing, so instead of 100k cycles its only 12.5k writes over USB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant