esp-idf/components/spi_flash
Cao Sen Miao 9df0678421 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-03-01 10:51:31 +08:00
..
esp32 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32c2 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32c3 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32c6 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32h2 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32s2 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp32s3 spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
include support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx 2023-04-06 11:40:40 +08:00
mock [nvs_flash]: Entries with state == 1 don't crash 2021-07-30 18:33:27 +08:00
sim C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT 2022-11-21 16:18:08 +08:00
test esp32h4: remove esp32h4 target from peripherals 2023-04-26 18:53:10 +08:00
test_apps fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-01 10:51:31 +08:00
.build-test-rules.yml spi_flash: support flash mmap pytest on C6 and H2 2023-03-27 00:22:58 -07:00
cache_utils.c fix(cache): fix wrong dcache size 0 configuration issue on s2 2024-01-05 10:37:59 +08:00
CMakeLists.txt spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
esp_flash_api.c fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-01 10:51:31 +08:00
esp_flash_spi_init.c esp32h4: remove esp32h4 target from peripherals 2023-04-26 18:53:10 +08:00
flash_brownout_hook.c spi_flash: Making XMC flash works more stable when brownout detected 2022-06-02 10:38:55 +08:00
flash_mmap.c MMU: Fix stale data being read on memory mapped instruction page 2023-03-24 18:59:57 +08:00
flash_ops.c esp32h4: remove esp32h4 target from peripherals 2023-04-26 18:53:10 +08:00
Kconfig fix(ota): Fixed OTA fail on octal flash with 32MB memory, 2023-11-06 10:49:06 +08:00
linker.lf spi_flash: Support flash wrap (burst read), flash driver side 2023-02-13 11:10:15 +08:00
memspi_host_driver.c spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
README.rst spi_flash: Modify documentations 2022-07-01 10:59:34 +08:00
sdkconfig.rename spi_flash: Rename long Kconfig options 2019-06-12 08:03:07 +02:00
spi_flash_chip_boya.c esp_flash: add opi flash support in esp_flash chip driver, for MXIC 2021-09-07 14:44:40 +08:00
spi_flash_chip_drivers.c spi_flash: add support for th 1M flash 2021-12-13 11:47:48 +08:00
spi_flash_chip_gd.c spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory, 2022-10-31 11:05:36 +08:00
spi_flash_chip_generic.c fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-01 10:51:31 +08:00
spi_flash_chip_issi.c esp_flash: add opi flash support in esp_flash chip driver, for MXIC 2021-09-07 14:44:40 +08:00
spi_flash_chip_mxic_opi.c spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory, 2022-10-31 11:05:36 +08:00
spi_flash_chip_mxic.c esp_flash: add opi flash support in esp_flash chip driver, for MXIC 2021-09-07 14:44:40 +08:00
spi_flash_chip_th.c spi_flash: add support for th 1M flash 2021-12-13 11:47:48 +08:00
spi_flash_chip_winbond.c esp_flash: add opi flash support in esp_flash chip driver, for MXIC 2021-09-07 14:44:40 +08:00
spi_flash_hpm_enable.c build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
spi_flash_os_func_app.c spi_flash: rename spi_flash_os_func_app: spi_start, spi_end 2023-07-07 10:13:28 +08:00
spi_flash_os_func_noos.c esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
spi_flash_wrap.c spi_flash: init wrap in app stage 2023-02-14 18:20:53 +08:00

See the spi_flash.rst in the programming guide folder for more details.