Function stm32wlxx_hal::info::flash_size

source ·
pub fn flash_size() -> u32
Expand description

Flash size in bytes

Example

use stm32wlxx_hal::info::flash_size;

// valid for the NUCLEO-WL55JC2 dev board
assert_eq!(flash_size(), 256 * 1024);