Skip to content
Snippets Groups Projects
Commit e9ac8ba6 authored by homunkulus's avatar homunkulus
Browse files

Auto merge of #5 - japaric:rt, r=japaric

add "rt" feature

None
parents 1a2b392c 768bdfb7
No related branches found
No related tags found
No related merge requests found
...@@ -17,3 +17,6 @@ stm32f30x = "0.6.0" ...@@ -17,3 +17,6 @@ stm32f30x = "0.6.0"
[dependencies.cast] [dependencies.cast]
default-features = false default-features = false
version = "0.2.2" version = "0.2.2"
[features]
rt = ["stm32f30x/rt"]
\ No newline at end of file
[dependencies.core]
stage = 0
[dependencies.compiler_builtins]
features = ["mem"]
stage = 1
\ No newline at end of file
...@@ -9,6 +9,7 @@ main() { ...@@ -9,6 +9,7 @@ main() {
;; ;;
*) *)
xargo check --target $TARGET xargo check --target $TARGET
xargo check --target $TARGET --features rt
;; ;;
esac esac
......
...@@ -5,11 +5,19 @@ ...@@ -5,11 +5,19 @@
//! //!
//! [`embedded-hal`]: https://github.com/japaric/embedded-hal //! [`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
//! //!
//! Examples of *using* these abstractions can be found in the documentation of the [`f3`] crate. //! 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(missing_docs)]
#![deny(warnings)] #![deny(warnings)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment