aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/src/codegen/bindings.rs
blob: 68378b5e7e417d47b911b6022607ff76f6d1e27d (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;