Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5175

SDK • How do I configure fatfs when using tinyusb?

$
0
0
I'm using TinyUSB for mass storage driver support on the Pico; I've just found that the fatfs library that comes with TinyUSB is configured with `FF_USE_CHMOD` to 0, meaning that the `f_chmod()` and `f_utime()` functions aren't compiled in. Unfortunately, I need these (or at least, one of them).

It looks like TinyUSB has a hard-coded fatfs config file and AFAIK doesn't provide any hooks to allow values to be changed via the TinyUSB config, and because it's all downloaded by the SDK it's not straightforward to change.

Does anyone know any supported way I can change this configuration?

Thanks!

Statistics: Posted by david.given — Sat Mar 02, 2024 12:03 pm



Viewing all articles
Browse latest Browse all 5175

Trending Articles