fix: add spi_flash.h for s2, s3, c3 targets in cpu_start.c

update s2, s3, c3 ld files spi_flash_attach to esp_rom_spiflash_attach
This commit is contained in:
Fu Hanxi
2021-01-26 11:54:22 +08:00
parent 119b61451f
commit e4e375f488
6 changed files with 16 additions and 7 deletions

View File

@@ -120,7 +120,7 @@ PROVIDE( esp_rom_spiflash_config_readmode = 0x40000154 );
PROVIDE( esp_rom_spiflash_read_status = 0x40000158 );
PROVIDE( esp_rom_spiflash_read_statushigh = 0x4000015c );
PROVIDE( esp_rom_spiflash_write_status = 0x40000160 );
PROVIDE( spi_flash_attach = 0x40000164 );
PROVIDE( esp_rom_spiflash_attach = 0x40000164 );
PROVIDE( spi_flash_get_chip_size = 0x40000168 );
PROVIDE( spi_flash_guard_set = 0x4000016c );
PROVIDE( spi_flash_guard_get = 0x40000170 );