diff --git a/embassy-nrf/src/nvmc.rs b/embassy-nrf/src/nvmc.rs index 312e1d5a..722e49d6 100644 --- a/embassy-nrf/src/nvmc.rs +++ b/embassy-nrf/src/nvmc.rs @@ -10,8 +10,8 @@ use embassy::util::Unborrow; use embassy_hal_common::unborrow; use embedded_storage::nor_flash::{MultiwriteNorFlash, NorFlash, ReadNorFlash}; -const PAGE_SIZE: usize = 4096; -const FLASH_SIZE: usize = crate::chip::FLASH_SIZE; +pub const PAGE_SIZE: usize = 4096; +pub const FLASH_SIZE: usize = crate::chip::FLASH_SIZE; #[derive(Debug, Copy, Clone, PartialEq, Eq)] #[cfg_attr(feature = "defmt", derive(defmt::Format))]