Unmounting FAT file system?

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

Unmounting FAT file system?

Postby permal » Sun Dec 17, 2017 2:31 pm

Hi,

The example for wear levelling unmounts the file system after use. This got me thinking and I have this question I can't find an answer for:

Is it a good practice to mount/unmount the file system as needed compared to just mount once and possibly never unmount it?

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

Re: Unmounting FAT file system?

Postby permal » Sun Dec 17, 2017 3:54 pm

It seems that calling esp_vfs_fat_spiflash_mount outside of app_main causes a deadlock of some sort so based on that, I can only conclude that the answer to my question is "no".

Who is online

Users browsing this forum: No registered users and 133 guests