From 3e8a5beec5f96a3c219b840dc26df34f76e4ab1e Mon Sep 17 00:00:00 2001 From: Adam Greig Date: Fri, 25 Feb 2022 01:19:34 +0000 Subject: Fix cortex-m-rt qemu test by removing 'nomem' from semihosting_syscall asm, add inline to most cortex_m::asm methods --- cortex-m-rt/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cortex-m-rt/src/lib.rs') 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. -- cgit v1.2.3