Sfoglia il codice sorgente

host tests: correct definition of CONFIG_SPI_FLASH_USE_LEGACY_IMPL

Ivan Grokhotkov 6 anni fa
parent
commit
ebcb08ec89

+ 2 - 0
components/nvs_flash/test_nvs_host/sdkconfig.h

@@ -0,0 +1,2 @@
+//currently use the legacy implementation, since the stubs for new HAL are not done yet
+#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1

+ 2 - 1
components/spiffs/test_spiffs_host/sdkconfig/sdkconfig.h

@@ -18,4 +18,5 @@
 
 
 #define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
 #define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
 //currently use the legacy implementation, since the stubs for new HAL are not done yet
 //currently use the legacy implementation, since the stubs for new HAL are not done yet
-#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL
+#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1
+

+ 1 - 1
components/wear_levelling/test_wl_host/sdkconfig/sdkconfig.h

@@ -5,5 +5,5 @@
 #define CONFIG_PARTITION_TABLE_OFFSET 0x8000
 #define CONFIG_PARTITION_TABLE_OFFSET 0x8000
 #define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
 #define CONFIG_ESPTOOLPY_FLASHSIZE "8MB"
 //currently use the legacy implementation, since the stubs for new HAL are not done yet
 //currently use the legacy implementation, since the stubs for new HAL are not done yet
-#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL
+#define CONFIG_SPI_FLASH_USE_LEGACY_IMPL 1