[][src]Function esp_idf_sys::ets_unpack_flash_code

pub unsafe extern "C" fn ets_unpack_flash_code(
    pos: u32,
    entry_addr: *mut u32,
    jump: bool,
    sb_need_check: bool,
    config: bool
) -> ETS_STATUS

@brief unpack the image in flash to iram and dram, using cache, maybe decrypting.

@param uint32_t pos : Flash physical address.

@param uint32_t *entry_addr: the pointer of an variable that can store Entry code address.

@param bool jump : Jump into the code in the function or not.

@param bool sb_need_check : Do security boot check or not.

@param bool config : Config the flash when unpacking the image, config should be done only once.

@return ETS_OK : unpack successful @return ETS_FAILED : unpack failed