aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-02-25 01:19:34 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-02-25 01:21:05 +0000
commit3e8a5beec5f96a3c219b840dc26df34f76e4ab1e (patch)
tree45cfb08fca76efcce333a7f89cb28f32eea8fab9 /cortex-m-rt/src/lib.rs
parentf2feeb2595fe8f281a50d63055c65d6ac064ae11 (diff)
downloadcortex-m-3e8a5beec5f96a3c219b840dc26df34f76e4ab1e.tar.gz
cortex-m-3e8a5beec5f96a3c219b840dc26df34f76e4ab1e.tar.zst
cortex-m-3e8a5beec5f96a3c219b840dc26df34f76e4ab1e.zip
Fix cortex-m-rt qemu test by removing 'nomem' from semihosting_syscall asm, add inline to most cortex_m::asm methods
Diffstat (limited to 'cortex-m-rt/src/lib.rs')
-rw-r--r--cortex-m-rt/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index 793b928..1e977c6 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -439,9 +439,9 @@
extern crate cortex_m_rt_macros as macros;
-use core::fmt;
#[cfg(cortex_m)]
use core::arch::global_asm;
+use core::fmt;
// HardFault exceptions are bounced through this trampoline which grabs the stack pointer at
// the time of the exception and passes it to th euser's HardFault handler in r0.