1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! # Blue Hal
#![feature(never_type)]
#![feature(associated_type_bounds)]
#![feature(stmt_expr_attributes)]
#![feature(bool_to_option)]
#![cfg_attr(test, allow(unused_imports))]
#![cfg_attr(target_arch = "arm", no_std)]

#[cfg(feature = "stm32f407")]
pub use stm32f4::stm32f407 as stm32pac;
#[cfg(feature = "stm32f412")]
pub use stm32f4::stm32f412 as stm32pac;
#[cfg(feature = "stm32f429")]
pub use stm32f4::stm32f429 as stm32pac;
#[cfg(feature = "stm32f469")]
pub use stm32f4::stm32f469 as stm32pac;
#[cfg(feature = "stm32f446")]
pub use stm32f4::stm32f446 as stm32pac;

#[cfg(feature = "efm32gg11b_any")]
pub use efm32gg11b as efm32pac;

#[cfg(feature = "max3263_any")]
pub use max3263x as max32pac;

#[macro_use]
pub mod utilities {
    pub mod bitwise;
    pub mod buffer;
    pub mod guard;
    pub mod iterator;
    mod macros;
    pub mod memory;
    pub mod xmodem;
}

pub use paste;
pub mod drivers;
pub mod hal;