Skip to main content

app_elf_sha256

Function app_elf_sha256 

Source
pub fn app_elf_sha256() -> &'static [u8; 32]
Expand description

The ELF’s content hash, straight from the esp-idf application descriptor — the first bytes distinguish two images built from the same commit with different uncommitted edits. Unambiguous with no consumer input needed: it is a function of the linked image, computed and patched in by espflash. Requires app_desc! to have been invoked (see app_desc()).