[Ovmsdev] SPIFFS or FAT for /store

Stephen Casner casner at acm.org
Fri Jan 19 09:47:13 HKT 2018


This is not a problem for me.  I have very few files in /store.

The scp implementation does support -r (recursive), so the copy out
and back would be straightforward.

                                                        -- Steve

On Fri, 19 Jan 2018, Mark Webb-Johnson wrote:

>
> ESP IDF 2.1 only had FAT support as a filesystem. We used this for
> the /store vfs mount, for config and script storage.
>
> ESP IDF 3.x now has SPIFFS as an option.
>
> SPIFFS is obviously more suited to embedded flash.
>
> What do people think about making the switch to SPIFFS for /store now?
>
> Doing so would probably not be hard (just a lines of code change in
> the mounting of that /store partition), but would lose all config
> and script data in that partition (developers would have to disable
> vfs protection in menuconfig, then scp out first, to backup).
>
> Doing it later is not really an option.
>
> Thoughts?
>
> Mark
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev


More information about the OvmsDev mailing list