← index #12675Issue #13451
Related · high · value 0.327
QUERY · ISSUE

Prebake vfs partition

openby MauroDiamantinoopened 2023-10-12updated 2024-09-25
enhancement

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?

CANDIDATE · ISSUE

LittleFS data partition reported as FAT

closedby mo-FEARopened 2024-01-17updated 2024-01-20
bugport-esp32

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?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied