nrf: add NVMC driver.

This commit is contained in:
Dario Nieuwenhuis
2021-10-22 02:09:55 +02:00
parent 2b4e2bcbae
commit e78d226acd
12 changed files with 210 additions and 0 deletions

View File

@ -4,6 +4,8 @@ pub use nrf52840_pac as pac;
pub const EASY_DMA_SIZE: usize = (1 << 16) - 1;
pub const FORCE_COPY_BUFFER_SIZE: usize = 512;
pub const FLASH_SIZE: usize = 1024 * 1024;
embassy_hal_common::peripherals! {
// RTC
RTC0,
@ -13,6 +15,9 @@ embassy_hal_common::peripherals! {
// WDT
WDT,
// NVMC
NVMC,
// RNG
RNG,