embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::load_partition_table

source ·
pub unsafe extern "C" fn load_partition_table(
    workarea_base: *mut u8,
    workarea_size: usize,
    force_reload: bool,
) -> i32
Expand description

Loads the current partition table from flash, if present.

See datasheet section 5.5.11.3 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.