mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
test(spi_flash): Fix some failing test related to spi flash
This commit is contained in:
@ -598,7 +598,11 @@ TEST_CASE_MULTI_FLASH_IGNORE("Test esp_flash_write can toggle QE bit", test_togg
|
|||||||
#endif //CONFIG_ESPTOOLPY_OCT_FLASH
|
#endif //CONFIG_ESPTOOLPY_OCT_FLASH
|
||||||
|
|
||||||
// This table could be chip specific in the future.
|
// This table could be chip specific in the future.
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32C2
|
||||||
|
uint8_t flash_frequency_table[5] = {5, 10, 20, 40};
|
||||||
|
#else
|
||||||
uint8_t flash_frequency_table[6] = {5, 10, 20, 26, 40, 80};
|
uint8_t flash_frequency_table[6] = {5, 10, 20, 26, 40, 80};
|
||||||
|
#endif
|
||||||
#define TEST_FLASH_SPEED_MIN 5
|
#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)
|
void test_permutations_part(const flashtest_config_t* config, esp_partition_t* part, void* source_buf, size_t length)
|
||||||
{
|
{
|
||||||
|
@ -53,5 +53,5 @@ def test_esp_flash_stress_rom_xip_psram(dut: Dut) -> None:
|
|||||||
],
|
],
|
||||||
indirect=True,
|
indirect=True,
|
||||||
)
|
)
|
||||||
def test_flash_auto_suspend(dut: Dut) -> None:
|
def test_flash_auto_suspend_stress(dut: Dut) -> None:
|
||||||
dut.run_all_single_board_cases()
|
dut.run_all_single_board_cases()
|
||||||
|
Reference in New Issue
Block a user