Prebake vfs partition
Hello, I'm compiling micropython v1.18.0 in the port ESP32 with my scripts as frozen codes, but I need to store some data files (for example html files) in the vfs partition for scripts to work normally. I've tried to use rshell to copy the files after the firmware has been written in the flash, but it is slow and sometimes fails becuase the main program start to execute and then reset the board because it doesn't find the required files. So, there is a way to prebake (or prefilled) the vfs partition when the micropython firmware is built, so the firmware already has my scripts and the required data files?
LittleFS data partition reported as FAT
On the default micropython v1.21 firmware image for the esp32, the data partition (the one labelled 'vfs') is formatted as littlefs, but the partition table shows a subtype of fat, which confuses the mounting tool causing the mount to fail and the partition get unrecognized.
Is there a reason for this? is it intentional? or did the partition type change from fat to littlefs at some point in the past without updating the partition table?