spiffs mounting improvements - #244
Conversation
Allows the location and length of the spiffs to be specified by the app, the app should be compiled with DISABLE_SPIFFS to prevent auto mounting and then call spiffs_mount_manual with the desired parameters from the init function. This was requested by rBoot users and allows mounting of multiple different spiffs images along side multiple OTAable rom images.
|
Should it be synced with the upstream? https://github.com/pellepl/spiffs |
I don't think so, none of the code altered exists upstream. spiffs.c isn't there at all and the small change to the declarations in spiffs.h aren't in the upstream version. |
|
Ah, You're right. spiffs.c is sming-specific. On Sat, Aug 29, 2015 at 11:41 AM, Richard Antony Burton <
|
|
Richard, I don't see a change to support bypassing the spiffs_mount() in user_main.cpp. Above you mention "DISABLE_SPIFFS"...did you forget to commit the change for that? Curtis EDIT: actually looking at the recent merges, there was a change by "Andrei Diea" that adds the "DISABLE_SPIFFS" variable and example to the CFLAGS. |
|
That's right, it's already there from a recent commit. It saved me having to add something similar myself. |
|
I think that's right direction for lager flash chips, thank you. |
Allows the location and length of the spiffs to be specified by the app, the app
should be compiled with DISABLE_SPIFFS to prevent auto mounting and then call
spiffs_mount_manual with the desired parameters from the init function.
This was requested by rBoot users and allows mounting of multiple different
spiffs images along side multiple OTAable rom images.