Просмотр исходного кода

add two APIs into esp32beta.rom.spiflash.ld to fix compile error

When config flash mode as QIO mode, the error that esp_rom_spiflash_wait_idle
and esp_rom_spiflash_config_readmode are undefined happens when compile, so
add these two APIs to fix the error.
chenjianqiang 6 лет назад
Родитель
Сommit
fd8b526f7c
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      components/esp_rom/esp32s2beta/ld/esp32s2beta.rom.spiflash.ld

+ 2 - 0
components/esp_rom/esp32s2beta/ld/esp32s2beta.rom.spiflash.ld

@@ -23,3 +23,5 @@ PROVIDE ( esp_rom_spiflash_config_clk = SPIClkConfig );
 PROVIDE ( esp_rom_spiflash_select_qio_pins = SelectSpiQIO );
 PROVIDE ( esp_rom_spiflash_unlock = SPIUnlock );
 PROVIDE ( esp_rom_spiflash_erase_sector = SPIEraseSector );
+PROVIDE ( esp_rom_spiflash_wait_idle = SPI_Wait_Idle );
+PROVIDE ( esp_rom_spiflash_config_readmode = SPIReadModeCnfig );