23 lines
724 B
Rust
Raw Normal View History

2021-03-05 22:37:18 +01:00
#![no_std]
#![feature(generic_associated_types)]
#![feature(asm)]
#![feature(type_alias_impl_trait)]
2021-03-17 19:02:22 -05:00
#![feature(min_type_alias_impl_trait)]
2021-03-05 22:37:18 +01:00
#![allow(incomplete_features)]
#[cfg(not(any(feature = "stm32l0x1", feature = "stm32l0x2", feature = "stm32l0x3",)))]
2021-03-05 22:37:18 +01:00
compile_error!(
"No chip feature activated. You must activate exactly one of the following features: "
);
#[cfg(any(
all(feature = "stm32l0x1", feature = "stm32l0x2"),
all(feature = "stm32l0x1", feature = "stm32l0x3"),
all(feature = "stm32l0x2", feature = "stm32l0x3"),
))]
compile_error!(
"Multile chip features activated. You must activate exactly one of the following features: "
);
2021-03-20 11:07:16 -05:00
pub use embassy_stm32::{exti, fmt, hal, interrupt, pac};