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 */
2424
2525#define SPI_IDX 1
2626
27- #if CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
28-
2927#if CONFIG_IDF_TARGET_ESP32
3028
3129extern esp_rom_spiflash_chip_t g_rom_spiflash_chip ;
@@ -111,6 +109,12 @@ __attribute__((__unused__)) esp_rom_spiflash_result_t esp_rom_spiflash_clear_bp(
111109}
112110esp_rom_spiflash_result_t esp_rom_spiflash_unlock (void ) __attribute__((alias ("esp_rom_spiflash_clear_bp" )));
113111
112+ #endif // CONFIG_IDF_TARGET_ESP32
113+
114+ #if CONFIG_SPI_FLASH_ROM_DRIVER_PATCH
115+
116+ #if CONFIG_IDF_TARGET_ESP32
117+
114118static esp_rom_spiflash_result_t esp_rom_spiflash_enable_write (esp_rom_spiflash_chip_t * spi );
115119
116120//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