embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::chain_image

source ·
pub unsafe extern "C" fn chain_image(
    workarea_base: *mut u8,
    workarea_size: usize,
    region_base: i32,
    region_size: u32,
) -> i32
Expand description

Searches a memory region for a launchable image, and executes it if possible.

See datasheet section 5.5.12.2 for more details.

Supported architectures: ARM-S, RISC-V

§Safety

This is a low-level C function. It may be difficult to call safely from Rust. If in doubt, check the rp235x datasheet for details and do your own safety evaluation.