spi_flash: init wrap in app stage

This commit is contained in:
Cao Sen Miao
2023-02-14 11:47:56 +08:00
parent d3fec8394f
commit 29e0258de2
4 changed files with 9 additions and 8 deletions

View File

@@ -555,7 +555,7 @@ void test_flash_wrap(const esp_partition_t* part)
printf("Read back...\n");
spi_flash_wrap_probe();
spI_flash_wrap_enable(FLASH_WRAP_SIZE_32B);
spi_flash_wrap_enable(FLASH_WRAP_SIZE_32B);
esp_flash_read(chip, wrap_buf, offs + 3, sizeof(wrap_buf));
spi_flash_wrap_disable();