2021-06-18 14:37:08 +00:00
|
|
|
#![cfg_attr(not(target_os = "none"), allow(dead_code))]
|
|
|
|
|
#![cfg_attr(not(target_os = "none"), allow(unused_imports))]
|
|
|
|
|
#![cfg_attr(not(target_os = "none"), allow(unused_variables))]
|
|
|
|
|
|
2021-08-02 10:11:48 +00:00
|
|
|
#[cfg(not(any(target_os = "none", target_os = "xous")))]
|
2021-05-05 16:45:14 +00:00
|
|
|
mod hosted;
|
2021-08-02 10:11:48 +00:00
|
|
|
#[cfg(not(any(target_os = "none", target_os = "xous")))]
|
2021-05-08 17:13:16 +00:00
|
|
|
pub use crate::i2c::hosted::*;
|
2021-05-05 16:45:14 +00:00
|
|
|
|
2021-08-02 10:11:48 +00:00
|
|
|
#[cfg(any(target_os = "none", target_os = "xous"))]
|
2021-05-05 16:45:14 +00:00
|
|
|
mod hardware;
|
2021-08-02 10:11:48 +00:00
|
|
|
#[cfg(any(target_os = "none", target_os = "xous"))]
|
2021-05-05 21:05:17 +00:00
|
|
|
pub(crate) use crate::i2c::hardware::*;
|