esp-idf/components/spi_flash
Angus Gratton 58a3e08895 paritition_table: Verify the partition table md5sum when loading the app
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).

The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-30 23:21:14 +00:00
..
esp32 ota: fix ota with flash encryption 2021-03-05 18:39:32 +08:00
esp32c3 ota: fix ota with flash encryption 2021-03-05 18:39:32 +08:00
esp32s2 ota: fix ota with flash encryption 2021-03-05 18:39:32 +08:00
esp32s3 ota: fix ota with flash encryption 2021-03-05 18:39:32 +08:00
include spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM 2021-03-19 16:37:34 +08:00
mock spi_flash: mocking should be possible now 2020-12-14 18:53:14 +08:00
private_include spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
sim spi_flash: Add auto suspend mode on esp32c3 2021-01-25 11:14:02 +08:00
test esp_flash: fix host number for passing ci 2021-04-21 13:54:26 +08:00
cache_utils.c remove othercore cache disable 2021-04-27 14:40:52 +08:00
cache_utils.h esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
CMakeLists.txt spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
component.mk fix dummy issue in spi mem and make some spiflash api called from idf 2019-11-15 15:59:07 +00:00
esp_flash_api.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
esp_flash_spi_init.c gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3 2021-04-12 17:45:06 +08:00
flash_mmap.c mmap: fixed the issue mmap cannot be called with pointers to psram 2020-12-22 13:42:42 +08:00
flash_ops.c ota: fix ota with flash encryption 2021-03-05 18:39:32 +08:00
Kconfig spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
linker.lf spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
memspi_host_driver.c spi: remove HSPI macro on esp32c3 and esp32s3 2021-04-06 15:30:28 +08:00
partition.c paritition_table: Verify the partition table md5sum when loading the app 2021-05-30 23:21:14 +00:00
README_legacy.rst doc: update the memory types and startup docs 2021-04-23 22:48:47 +10:00
README.rst spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND 2021-02-25 18:08:23 +08:00
sdkconfig.rename spi_flash: Rename long Kconfig options 2019-06-12 08:03:07 +02:00
spi_flash_chip_boya.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
spi_flash_chip_drivers.c spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
spi_flash_chip_gd.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
spi_flash_chip_generic.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
spi_flash_chip_issi.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
spi_flash_chip_mxic.c spi_flash: make suspend off by default and add more information for using suspend 2021-03-29 12:02:43 +08:00
spi_flash_chip_winbond.c spi_flash(c3): add boya chip support for suspend feature 2021-01-25 11:14:06 +08:00
spi_flash_os_func_app.c spi: remove HSPI macro on esp32c3 and esp32s3 2021-04-06 15:30:28 +08:00
spi_flash_os_func_noos.c spi_flash: Add ESP32-C3 support 2020-12-17 15:34:13 +11:00

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

The docs above is for the new SPI Flash API above 4.0, for legacy implementation (CONFIG_SPI_FLASH_USE_LEGACY_IMPL enabled), read README_legayc.rst in the same folder with this readme.