embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::get_b_partition

source ·
pub unsafe extern "C" fn get_b_partition(partition_a: u32) -> i32
Expand description

Returns: The index of the B partition of partition A if a partition table is present and loaded, and there is a partition A with a B partition; otherwise returns BOOTROM_ERROR_NOT_FOUND.

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