Skip to content
Snippets Groups Projects
Commit 44bebb2a authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

add "rt" feature

parent 1a2b392c
No related branches found
No related tags found
No related merge requests found
......@@ -17,3 +17,6 @@ stm32f30x = "0.6.0"
[dependencies.cast]
default-features = false
version = "0.2.2"
[features]
rt = ["stm32f30x/rt"]
\ No newline at end of file
......@@ -9,6 +9,7 @@ main() {
;;
*)
xargo check --target $TARGET
xargo check --target $TARGET --features rt
;;
esac
......
......@@ -5,11 +5,19 @@
//!
//! [`embedded-hal`]: https://github.com/japaric/embedded-hal
//!
//! # Usage
//!
//! To build applications (binary crates) using this crate follow the [cortex-m-quickstart]
//! instructions and add this crate as a dependency in step number 5 and make sure you enable the
//! "rt" Cargo feature of this crate.
//!
//! [cortex-m-quickstart]: https://docs.rs/cortex-m-quickstart/~0.2.3
//!
//! # Examples
//!
//! Examples of *using* these abstractions can be found in the documentation of the [`f3`] crate.
//!
//! [`f3`]: https://docs.rs/f3/0.5.0/f3/
//! [`f3`]: https://docs.rs/f3/~0.5.1
#![deny(missing_docs)]
#![deny(warnings)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment