aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen/bindings.rs
blob: a187820ea0fc4d0bdf3361f740a0ba59f8e1bf8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[cfg(not(any(
    feature = "cortex_m_source_masking",
    feature = "cortex_m_basepri",
    feaute = "test_template"
)))]
compile_error!("No backend selected");

#[cfg(any(feature = "cortex_m_source_masking", feature = "cortex_m_basepri"))]
pub use cortex::*;

#[cfg(feature = "test_template")]
pub use cortex::*;

#[cfg(any(feature = "cortex_m_source_masking", feature = "cortex_m_basepri"))]
mod cortex;

#[cfg(feature = "test_template")]
mod template;