mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(spi_flash): gpspi flash clock could reach higher frequency
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
@@ -598,11 +598,11 @@ TEST_CASE_MULTI_FLASH_IGNORE("Test esp_flash_write can toggle QE bit", test_togg
|
||||
|
||||
// This table could be chip specific in the future.
|
||||
#if CONFIG_IDF_TARGET_ESP32C2
|
||||
uint8_t flash_frequency_table[4] = {5, 10, 20, 40};
|
||||
uint8_t flash_frequency_table[] = {5, 10, 20, 40};
|
||||
#elif CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32H21 || CONFIG_IDF_TARGET_ESP32H4
|
||||
uint8_t flash_frequency_table[3] = {8, 16, 32}; // + 64
|
||||
uint8_t flash_frequency_table[] = {8, 16, 24, 48};
|
||||
#else
|
||||
uint8_t flash_frequency_table[6] = {5, 10, 20, 26, 40, 80};
|
||||
uint8_t flash_frequency_table[] = {5, 10, 20, 26, 40, 80};
|
||||
#endif
|
||||
#define TEST_FLASH_SPEED_MIN 5
|
||||
void test_permutations_part(const flashtest_config_t* config, esp_partition_t* part, void* source_buf, size_t length)
|
||||
|
||||
@@ -17,7 +17,6 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32h4'], reason='cannot pass') # TODO: IDF-15616
|
||||
def test_esp_flash(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='esp_flash')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user