embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::rom_data

Function 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.