aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-12-23 21:34:24 +0100
committerJorge Aparicio <jorge@japaric.io>2017-12-23 21:49:15 +0100
commitc94bd2d98d29cbf6d92f2f915e72d1555e282248 (patch)
treeb402f671a6eb52c4f09bb19d953f3c392b1b8407 /Cargo.toml
parent8a396c51f2caaeca7ee0f81ef2f3c4f2f73d8df1 (diff)
add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 05f90ab..e506be0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ repository = "https://github.com/japaric/cortex-m-rtfm"
version = "0.3.0"
[dependencies]
-cortex-m = { git = "https://github.com/japaric/cortex-m" }
+cortex-m = { git = "https://github.com/japaric/cortex-m", branch = "cm7-r0p1" }
untagged-option = "0.1.1"
# rtfm-core = "0.2.0"
rtfm-core = { git = "https://github.com/japaric/rtfm-core" }
@@ -32,5 +32,8 @@ features = ["rt"]
git = "https://github.com/japaric/stm32f103xx"
# version = "0.8.0"
+[features]
+cm7-r0p1 = ["cortex-m/cm7-r0p1"]
+
[profile.release]
lto = true