File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
spi_flash/test_apps/esp_flash Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
2121
2222#define SPI_IDX 1
2323
24- #if CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
25-
2624#if CONFIG_IDF_TARGET_ESP32
2725
2826extern esp_rom_spiflash_chip_t g_rom_spiflash_chip ;
@@ -108,6 +106,12 @@ __attribute__((__unused__)) esp_rom_spiflash_result_t esp_rom_spiflash_clear_bp(
108106}
109107esp_rom_spiflash_result_t esp_rom_spiflash_unlock (void ) __attribute__((alias ("esp_rom_spiflash_clear_bp" )));
110108
109+ #endif // CONFIG_IDF_TARGET_ESP32
110+
111+ #if CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
112+
113+ #if CONFIG_IDF_TARGET_ESP32
114+
111115static esp_rom_spiflash_result_t esp_rom_spiflash_enable_write (esp_rom_spiflash_chip_t * spi );
112116
113117//only support spi1
Original file line number Diff line number Diff line change 1+ CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=n
You can’t perform that action at this time.
0 commit comments