test(spi_flash): Fix some failing test related to spi flash

This commit is contained in:
C.S.M
2024-10-29 17:05:14 +08:00
parent 72c8dffe13
commit c1288de7a1
2 changed files with 5 additions and 1 deletions

View File

@ -598,7 +598,11 @@ TEST_CASE_MULTI_FLASH_IGNORE("Test esp_flash_write can toggle QE bit", test_togg
#endif //CONFIG_ESPTOOLPY_OCT_FLASH
// 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};
#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)
{

View File

@ -53,5 +53,5 @@ def test_esp_flash_stress_rom_xip_psram(dut: Dut) -> None:
],
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()