ERROR in Build FileSystem Image

Absolutely correct. Do you see a filesystem storage section in

? Compare to

Refer to e.g. platform-espressif32/examples/espidf-storage-spiffs at develop · platformio/platform-espressif32 · GitHub. You must give your project a custom partition table with a storage section and reference it in both the platformio.ini and menuconfig.