Configure project

Menu > View > Command Palette > Type: “ESP-IDF: SDK Configuration editor” (or use CTRL+E then G)
Wait for it to load

Scroll down to the “FAT Filesystem support” section