Merge branch 'bugfix/wrap_init' into 'master'

spi_flash: initialize wrap in app stage

See merge request espressif/esp-idf!22362
This commit is contained in:
C.S.M
2023-02-15 12:39:12 +08:00
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();