rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3, H2

This commit is contained in:
Ivan Grokhotkov
2021-07-24 13:28:25 +02:00
parent 118fafef07
commit 7534c4467f
7 changed files with 29 additions and 3 deletions
@@ -20,3 +20,4 @@
#define ESP_ROM_UART_CLK_IS_XTAL (1) // UART clock source is selected to XTAL in ROM
#define ESP_ROM_USB_SERIAL_DEVICE_NUM (3) // UART uses USB_SERIAL_JTAG port in ROM.
#define ESP_ROM_HAS_RETARGETABLE_LOCKING (1) // ROM was built with retargetable locking
#define ESP_ROM_HAS_ERASE_0_REGION_BUG (1) // ROM has esp_flash_erase_region(size=0) bug