Merge branch 'feature/spi_flash_esp8684_support' into 'master'

spi_flash: refactor spi_flash clock configuration logic and support esp32c2

Closes IDF-4474, IDF-4025, and IDF-4066

See merge request espressif/esp-idf!16602
This commit is contained in:
Simon
2022-04-27 11:05:45 +08:00
57 changed files with 871 additions and 547 deletions

View File

@@ -32,6 +32,8 @@
#endif
// H2 and C2 will not support external flash.
#define TEST_FLASH_FREQ_MHZ 5
typedef struct {
union {
@@ -235,7 +237,7 @@ static void test_bus_lock(bool test_flash)
.cs_id = 2,
.cs_io_num = TEST_BUS_PIN_NUM_CS,
.io_mode = SPI_FLASH_DIO,
.speed = ESP_FLASH_5MHZ,
.freq_mhz = TEST_FLASH_FREQ_MHZ,
.input_delay_ns = 0,
};