Skip to content

tinyusb MSC buffer size #41

Open
Open
@chegewara

Description

@chegewara

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions