mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-26 00:32:33 +00:00
nrf/nvmc: make PAGE_SIZE, FLASH_SIZE public.
This commit is contained in:
parent
f3f3858328
commit
e7ab979eb8
@ -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))]
|
||||
|
Loading…
Reference in New Issue
Block a user