Autogenerate features for family, peripherals and peripheral versions

This commit is contained in:
Dario Nieuwenhuis
2021-05-06 03:59:16 +02:00
parent 23ca2f9174
commit f5f98cdeab
8 changed files with 3832 additions and 3809 deletions

View File

@ -1,3 +1,4 @@
#![macro_use]
use core::convert::Infallible;
use core::future::Future;
use core::marker::PhantomData;

View File

@ -1,3 +1,4 @@
#![macro_use]
use core::convert::Infallible;
use core::marker::PhantomData;
use embassy::util::Unborrow;

View File

@ -11,16 +11,11 @@ pub mod fmt;
use embassy::interrupt::{Interrupt, InterruptExt};
#[macro_use]
pub mod exti;
#[macro_use]
pub mod gpio;
//pub mod rtc;
#[macro_use]
pub mod usart;
#[macro_use]
#[cfg(feature = "_rng")]
pub mod rng;
pub mod usart;
// This must go LAST so that it sees the `impl_foo!` macros
mod pac;

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
#![macro_use]
use crate::pac::rng::{regs, Rng};
use crate::peripherals;
use embassy::util::Unborrow;

View File

@ -1,3 +1,5 @@
#![macro_use]
use core::marker::PhantomData;
use embassy::util::Unborrow;