Move check_user_presence to env::tock

This commit is contained in:
Julien Cretin
2022-03-03 13:55:35 +01:00
parent 5c59e809c2
commit d6e4c66562
3 changed files with 229 additions and 223 deletions

View File

@@ -24,7 +24,12 @@ use crate::ctap::CtapState;
use crate::env::Env;
use libtock_drivers::timer::ClockValue;
// Implementation details must be public for testing (in particular fuzzing).
#[cfg(feature = "std")]
pub mod ctap;
#[cfg(not(feature = "std"))]
mod ctap;
// Store example binaries use the flash directly. Eventually, they should access it from env::tock.
pub mod embedded_flash;
pub mod env;