RKTK API Docs RKTK Home Repo

get_typical_flash_partitions

Function get_typical_flash_partitions 

Source
pub fn get_typical_flash_partitions(
    sd: &Softdevice,
) -> (SoftdeviceFlashPartition, SoftdeviceFlashPartition)
Available on crate feature softdevice only.
Expand description

Take flash and create typical flash partitions for application and bond storage. Returns (application_partition, bond_partition).

This function or get_flash must be called only once. Otherwise, it will panic.

Address Size Content / Region Name +————+–––––+—————————–+ | 0x00000000 | | | | | | 152 KB | SoftDevice | | 0x00025FFF | | | +————+–––––+—————————–+ | 0x00026000 | | | | | | 488 KB | Application | | 0x0009FFFF | | | +————+–––––+—————————–+ | 0x000A0000 | | | | | | 12 KB | Store app information | | 0x000A2FFF | | | +————+–––––+—————————–+ | 0x000A3000 | | | | | | 8 KB | Store bond information | | 0x000A4FFF | | | +————+–––––+—————————–+