Page 1 of 1

How to use WearLevel in spiffs?

Posted: Fri Jan 11, 2019 1:15 am
by YxWang
Hi there,

SPIFFS supports wear leveling, but I can't using wl_mount() to mount wear level in SPIFFS partition.
So I have two questions:
1. Is the SPIFFS partition already installed with wearlevel?
2.If 1 is not, how to use Wear Level in spiffs?


regards,
YxWang

Re: How to use WearLevel in spiffs?

Posted: Fri Jan 11, 2019 1:34 am
by ESP_igrr
SPIFFS does wear levelling internally, and expects that it operates on raw SPI flash. As such, it can not be used on top of another flash translation layer, such as wear_levelling library, or on top of encrypted flash.

Re: How to use WearLevel in spiffs?

Posted: Fri Jan 11, 2019 1:59 am
by YxWang
ESP_igrr wrote:
Fri Jan 11, 2019 1:34 am
SPIFFS does wear levelling internally, and expects that it operates on raw SPI flash. As such, it can not be used on top of another flash translation layer, such as wear_levelling library, or on top of encrypted flash.
:D Thx!