RKTK API Docs RKTK Home Repo

get_flash

Function get_flash 

Source
pub fn get_flash(sd: &Softdevice) -> &'static Mutex<Flash>
Available on crate feature softdevice only.
Expand description

Take flash from softdevice instance. When you don’t need custom flash partitions, use get_typical_flash_partitions instead.

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