From 75dd9835f6fe38061452b97939f311a9a58a3af4 Mon Sep 17 00:00:00 2001 From: Armando Date: Mon, 1 Jun 2020 15:26:57 +0800 Subject: [PATCH] esp_flash: fix cache exception when CS pin is through IOMUX --- components/spi_flash/linker.lf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/spi_flash/linker.lf b/components/spi_flash/linker.lf index 5e2c1af32f..0ea72aaa43 100644 --- a/components/spi_flash/linker.lf +++ b/components/spi_flash/linker.lf @@ -7,3 +7,9 @@ entries: spi_flash_chip_gd(noflash) memspi_host_driver (noflash) +# `spi_bus_add_flash_device` uses these functions when the cache is disabled +[mapping:driver_spiflash] +archive: libdriver.a +entries: + gpio:gpio_iomux_out (noflash) + gpio:gpio_iomux_in (noflash)