nrf: add NVMC driver.
This commit is contained in:
@ -4,6 +4,12 @@ pub use nrf52832_pac as pac;
|
||||
pub const EASY_DMA_SIZE: usize = (1 << 8) - 1;
|
||||
pub const FORCE_COPY_BUFFER_SIZE: usize = 255;
|
||||
|
||||
// There are two variants. We set the higher size to make the entire flash
|
||||
// usable in xxAA, but we'll probably split this in two cargi features later.
|
||||
// nrf52832xxAA = 512kb
|
||||
// nrf52832xxAB = 256kb
|
||||
pub const FLASH_SIZE: usize = 512 * 1024;
|
||||
|
||||
embassy_hal_common::peripherals! {
|
||||
// RTC
|
||||
RTC0,
|
||||
@ -13,6 +19,9 @@ embassy_hal_common::peripherals! {
|
||||
// WDT
|
||||
WDT,
|
||||
|
||||
// NVMC
|
||||
NVMC,
|
||||
|
||||
// RNG
|
||||
RNG,
|
||||
|
||||
|
Reference in New Issue
Block a user