mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
wear_levelling: temporarily disable 512 byte sectors
Unit tests are failing with the new 512 byte sector option. Disabling this option to let the tests pass.
This commit is contained in:
@@ -2,7 +2,7 @@ menu "Wear Levelling"
|
|||||||
|
|
||||||
choice WL_SECTOR_SIZE
|
choice WL_SECTOR_SIZE
|
||||||
bool "Wear Levelling library sector size"
|
bool "Wear Levelling library sector size"
|
||||||
default WL_SECTOR_SIZE
|
default WL_SECTOR_SIZE_4096
|
||||||
help
|
help
|
||||||
Sector size used by wear levelling library.
|
Sector size used by wear levelling library.
|
||||||
You can set default sector size or size that will
|
You can set default sector size or size that will
|
||||||
@@ -20,6 +20,8 @@ choice WL_SECTOR_SIZE
|
|||||||
|
|
||||||
config WL_SECTOR_SIZE_512
|
config WL_SECTOR_SIZE_512
|
||||||
bool "512"
|
bool "512"
|
||||||
|
# This mode is temporary disabled, until unit test is fixed
|
||||||
|
depends on false
|
||||||
config WL_SECTOR_SIZE_4096
|
config WL_SECTOR_SIZE_4096
|
||||||
bool "4096"
|
bool "4096"
|
||||||
endchoice
|
endchoice
|
||||||
@@ -32,7 +34,7 @@ config WL_SECTOR_SIZE
|
|||||||
choice WL_SECTOR_MODE
|
choice WL_SECTOR_MODE
|
||||||
bool "Sector store mode"
|
bool "Sector store mode"
|
||||||
depends on WL_SECTOR_SIZE_512
|
depends on WL_SECTOR_SIZE_512
|
||||||
default WL_SECTOR_MODE_PERF
|
default WL_SECTOR_MODE_SAFE
|
||||||
help
|
help
|
||||||
Specify the mode to store data into flash:
|
Specify the mode to store data into flash:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user