spi_flash(esp32-s2): Add the workaround of a reboot issue when SPI HW suspend is enabled

This commit is contained in:
KonstantinKondrashov
2020-06-12 18:52:00 +08:00
committed by Cao Sen Miao
parent 60e58eaddb
commit 1f37a5f162
7 changed files with 134 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include "esp_heap_caps.h"
#include "hal/spi_types.h"
#include "driver/spi_common_internal.h"
#include "hal/spi_flash_hal.h"
#include "esp_flash_internal.h"
#include "esp_rom_gpio.h"
#if CONFIG_IDF_TARGET_ESP32