bootloader_flash_read() function
Read data from Flash.
Arguments
dest
pointer to the destination buffer
allow_decrypt
If true and flash encryption is enabled, data on flash will be decrypted transparently as part of the read.
Return value
ESP_OK on success, ESP_ERR_FLASH_OP_FAIL on SPI failure, ESP_ERR_FLASH_OP_TIMEOUT on SPI timeout.
Notes
All of src, dest and size have to be 4-byte aligned.
bootloader_flash_read() is called by 4 functions and calls 3 functions:
![]()
bootloader_flash_read()
bootloader_flash_read():
![]()
bootloader_flash_read()