949: (embassy-rp): Implement RealTimeClock r=lulf a=MathiasKoch

Basically a 1:1 port of the great implementation effort made by `rp-hal`

Co-authored-by: Mathias <mk@blackbird.online>
This commit is contained in:
bors[bot]
2022-09-21 07:19:23 +00:00
committed by GitHub
7 changed files with 482 additions and 1 deletions

View File

@ -7,6 +7,7 @@ pub(crate) mod fmt;
pub mod dma;
pub mod gpio;
pub mod interrupt;
pub mod rtc;
pub mod spi;
#[cfg(feature = "time-driver")]
pub mod timer;
@ -85,6 +86,8 @@ embassy_hal_common::peripherals! {
DMA_CH11,
USB,
RTC,
}
#[link_section = ".boot2"]