Skip to content
Discussion options

You must be logged in to vote

For somebody who maybe has the same problem: I did some more tests and investigations. This might be a noob error, but I didn't check all of the configurations that the oofatfs lib lets the user define. The main problem was the sector size definition.
The filesystem maximum sector size MICROPY_FATFS_MAX_SS was undefined in Pycom's ESP32 port, which in ff.h results in min ss size == max ss size == 512. Micropython defines min == 512 and max == 4096. After changing the config to match the one from Pycom, FAT FS is recognized by Micropython port, mounted under "flash", and there are files listed in this directory when calling os.listdir("/flash").

Now I am facing the following problem: the f…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by x4t-de
Comment options

You must be logged in to vote
1 reply
@x4t-de
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants