esp-idf/components/spi_flash/test_apps/flash_encryption
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
..
main spiflash: added esp_flash API concurrency pressure test 2023-07-07 10:13:28 +08:00
CMakeLists.txt flash_encryption: Add several test environments for flash encryption test 2022-07-20 12:49:42 +08:00
encrypt_flash.sh flash_encryption: Add several test environments for flash encryption test 2022-07-20 12:49:42 +08:00
partitions.csv flash_encryption: Add several test environments for flash encryption test 2022-07-20 12:49:42 +08:00
pytest_flash_encrypted.py fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-01 10:51:31 +08:00
README.md esp32h2: add build test 2023-01-17 10:29:04 +08:00
sdkconfig.ci.release TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
sdkconfig.ci.release_f4r8 ci: remove redundent ci configs for chip support and network components 2023-04-26 17:29:51 +08:00
sdkconfig.ci.release_f8r8 ci: remove redundent ci configs for chip support and network components 2023-04-26 17:29:51 +08:00
sdkconfig.ci.rom_impl fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-01 10:51:31 +08:00
sdkconfig.ci.verify spi_flash: support write verify feature on esp_flash_write_encrypted API 2023-03-09 14:55:13 +08:00
sdkconfig.defaults TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-S2 ESP32-S3

Prepare runner

To prepare flash encryption tunner, you can run encrypt_flash.sh. Note that doing so will burn efuses.