esp-idf/components/spi_flash/test_apps/flash_encryption
Cao Sen Miao d8f505751e 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-04 11:55:50 +08:00
..
main build system: re-add -Wno-format as private flag for some components 2022-08-03 16:42:47 +04: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-04 11:55:50 +08:00
README.md flash_encryption: Add several test environments for flash encryption test 2022-07-20 12:49:42 +08:00
sdkconfig.ci.release TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
sdkconfig.ci.release_f4r8 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
sdkconfig.ci.release_f8r8 esp_flash: correct veriable 'size' description 2023-03-21 12:10:38 +08:00
sdkconfig.ci.rom_impl fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled 2024-03-04 11:55:50 +08:00
sdkconfig.defaults TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00

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

Prepare runner

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