1#![no_std]
2#![allow(unexpected_cfgs)]
3
4#[cfg(not(any(
5 feature = "ch32v003f4p6",
6 feature = "ch32v003a4m6",
7 feature = "ch32v003f4u6",
8 feature = "ch32v003j4m6",
9 feature = "ch32v103c6t6",
10 feature = "ch32v103c8t6",
11 feature = "ch32v103c8u6",
12 feature = "ch32v103r8t6",
13)))]
14compile_error!(
15 "No chip variant selected. Enable a chip feature, e.g.: \
16 features = [\"ch32v003f4p6\"]"
17);
18
19mod generated {
20 include!(concat!(env!("OUT_DIR"), "/generated.rs"));
21}
22pub use generated::{Pin, UsartMapping};
23
24pub mod afio;
25pub mod flash;
26pub mod gpio;
27pub mod iwdg;
28pub mod pfic;
29pub mod rcc;
30pub mod usart;
31
32pub mod boot_request;