From 4626fafd2072b227ef377e01af7be57abccba9a1 Mon Sep 17 00:00:00 2001 From: "C.S.M" Date: Wed, 24 Jul 2024 13:42:29 +0800 Subject: [PATCH] feat(spi_flash): Add GD25Q32 for supporting suspend --- components/spi_flash/spi_flash_chip_gd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/spi_flash/spi_flash_chip_gd.c b/components/spi_flash/spi_flash_chip_gd.c index 9aabf52972d5..313800ef8e5e 100644 --- a/components/spi_flash/spi_flash_chip_gd.c +++ b/components/spi_flash/spi_flash_chip_gd.c @@ -37,6 +37,7 @@ spi_flash_caps_t spi_flash_chip_gd_get_caps(esp_flash_t *chip) #if CONFIG_SPI_FLASH_AUTO_SUSPEND switch (chip->chip_id) { /* The flash listed here can support suspend */ + case 0xC84016: case 0xC84017: case 0xC84018: caps_flags |= SPI_FLASH_CHIP_CAP_SUSPEND;