aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cortex-m-rt/Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cortex-m-rt/Cargo.toml b/cortex-m-rt/Cargo.toml
index 923fa22..43da43b 100644
--- a/cortex-m-rt/Cargo.toml
+++ b/cortex-m-rt/Cargo.toml
@@ -9,6 +9,7 @@ name = "cortex-m-rt"
readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m-rt"
version = "0.6.5"
+autoexamples = true
[dependencies]
r0 = "0.2.2"
@@ -26,5 +27,9 @@ version = "0.5.5"
[target.'cfg(not(target_os = "none"))'.dev-dependencies]
compiletest_rs = "0.3.14"
+[[example]]
+name = "device"
+required-features = ["device"]
+
[features]
device = []