mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
spi_flash: support esp32s2beta
This commit is contained in:
committed by
Angus Gratton
parent
b76d5d74d9
commit
9f1c8f0c76
@@ -26,3 +26,5 @@ PROVIDE ( esp_rom_spiflash_erase_sector = SPIEraseSector );
|
|||||||
PROVIDE ( esp_rom_spiflash_erase_block = SPIEraseBlock );
|
PROVIDE ( esp_rom_spiflash_erase_block = SPIEraseBlock );
|
||||||
PROVIDE ( esp_rom_spiflash_wait_idle = SPI_Wait_Idle );
|
PROVIDE ( esp_rom_spiflash_wait_idle = SPI_Wait_Idle );
|
||||||
PROVIDE ( esp_rom_spiflash_config_readmode = SPIReadModeCnfig );
|
PROVIDE ( esp_rom_spiflash_config_readmode = SPIReadModeCnfig );
|
||||||
|
PROVIDE ( esp_rom_spiflash_erase_block = SPIEraseBlock );
|
||||||
|
PROVIDE ( esp_rom_spiflash_write_encrypted = SPI_Encrypt_Write );
|
@@ -27,7 +27,7 @@ else()
|
|||||||
set(priv_requires bootloader_support app_update soc)
|
set(priv_requires bootloader_support app_update soc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_IDF_TARGET_ESP32)
|
if(IDF_TARGET STREQUAL "esp32")
|
||||||
list(APPEND srcs "spi_flash_rom_patch.c")
|
list(APPEND srcs "spi_flash_rom_patch.c")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user