How to use WearLevel in spiffs?

YxWang
Posts: 23
Joined: Sat Oct 20, 2018 1:13 am

How to use WearLevel in spiffs?

Postby YxWang » Fri Jan 11, 2019 1:15 am

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

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: How to use WearLevel in spiffs?

Postby ESP_igrr » 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.

YxWang
Posts: 23
Joined: Sat Oct 20, 2018 1:13 am

Re: How to use WearLevel in spiffs?

Postby YxWang » Fri Jan 11, 2019 1:59 am

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!

Who is online

Users browsing this forum: No registered users and 326 guests