aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2017-06-12 12:38:21 +0100
committerGravatar Adam Greig <adam@adamgreig.com> 2017-06-12 12:38:21 +0100
commitc442c1cb2bfdef634d24a6b00cd4d559f2dfb7fa (patch)
tree045d35a19826622f05acbd5b4ff23a0d3dee032d
parent861c0896001ffbb5bbe57cd69177df183ca9819c (diff)
downloadcortex-m-c442c1cb2bfdef634d24a6b00cd4d559f2dfb7fa.tar.gz
cortex-m-c442c1cb2bfdef634d24a6b00cd4d559f2dfb7fa.tar.zst
cortex-m-c442c1cb2bfdef634d24a6b00cd4d559f2dfb7fa.zip
Comment out armv7em cfg flag until it's needed
-rw-r--r--build.rs2
-rw-r--r--src/peripheral/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/build.rs b/build.rs
index 475bd00..1f6d605 100644
--- a/build.rs
+++ b/build.rs
@@ -9,6 +9,6 @@ fn main() {
println!("cargo:rustc-cfg=armv7m");
} else if target.starts_with("thumbv7em-") {
println!("cargo:rustc-cfg=armv7m");
- println!("cargo:rustc-cfg=armv7em");
+ //println!("cargo:rustc-cfg=armv7em");
}
}
diff --git a/src/peripheral/mod.rs b/src/peripheral/mod.rs
index 65a82a7..2dcfa30 100644
--- a/src/peripheral/mod.rs
+++ b/src/peripheral/mod.rs
@@ -934,7 +934,7 @@ pub struct Tpiu {
pub struct Cbp {
/// I-cache invalidate all to PoU
pub iciallu: WO<u32>,
- reserved0: RW<u32>,
+ reserved0: u32,
/// I-cache invalidate by MVA to PoU
pub icimvau: WO<u32>,
/// D-cache invalidate by MVA to PoC