Prechádzať zdrojové kódy

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.
Ivan Grokhotkov 8 rokov pred
rodič
commit
59a28ebccc
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      components/wear_levelling/Kconfig

+ 4 - 2
components/wear_levelling/Kconfig

@@ -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: