embassy-rp : Added intrinsic feature flag to global_asm macro
This commit is contained in:
parent
cc5bca8e83
commit
8285263fc2
@ -284,7 +284,7 @@ macro_rules! intrinsics {
|
|||||||
// alias the division operators to these for a similar reason r0 is the
|
// alias the division operators to these for a similar reason r0 is the
|
||||||
// result either way and r1 a scratch register, so the caller can't assume it
|
// result either way and r1 a scratch register, so the caller can't assume it
|
||||||
// retains the argument value.
|
// retains the argument value.
|
||||||
#[cfg(target_arch = "arm")]
|
#[cfg(all(target_arch = "arm", feature = "intrinsics"))]
|
||||||
core::arch::global_asm!(
|
core::arch::global_asm!(
|
||||||
".macro hwdivider_head",
|
".macro hwdivider_head",
|
||||||
"ldr r2, =(0xd0000000)", // SIO_BASE
|
"ldr r2, =(0xd0000000)", // SIO_BASE
|
||||||
|
Loading…
Reference in New Issue
Block a user