From 59a28ebccc7454009ffcfa52a8ef46c72bcd035f Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 8 Aug 2017 03:22:42 +0800 Subject: [PATCH] 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. --- components/wear_levelling/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/wear_levelling/Kconfig b/components/wear_levelling/Kconfig index 8e8d2a671d..9224c25ad4 100755 --- a/components/wear_levelling/Kconfig +++ b/components/wear_levelling/Kconfig @@ -2,7 +2,7 @@ menu "Wear Levelling" choice WL_SECTOR_SIZE bool "Wear Levelling library sector size" - default WL_SECTOR_SIZE + default WL_SECTOR_SIZE_4096 help Sector size used by wear levelling library. You can set default sector size or size that will @@ -20,6 +20,8 @@ choice WL_SECTOR_SIZE config WL_SECTOR_SIZE_512 bool "512" + # This mode is temporary disabled, until unit test is fixed + depends on false config WL_SECTOR_SIZE_4096 bool "4096" endchoice @@ -32,7 +34,7 @@ config WL_SECTOR_SIZE choice WL_SECTOR_MODE bool "Sector store mode" depends on WL_SECTOR_SIZE_512 - default WL_SECTOR_MODE_PERF + default WL_SECTOR_MODE_SAFE help Specify the mode to store data into flash: -- 2.40.0