diff options
| author | Peter Krull <[email protected]> | 2023-04-23 15:59:56 +0200 |
|---|---|---|
| committer | Peter Krull <[email protected]> | 2023-04-23 15:59:56 +0200 |
| commit | 8285263fc2178be409beff217cb6af4562ea5107 (patch) | |
| tree | b38bca33125402fac8a9421c0bd6567bc84a97e1 /embassy-rp/src | |
| parent | cc5bca8e83b4fe372d8d87b35d82ff466d1a290a (diff) | |
embassy-rp : Added intrinsic feature flag to global_asm macro
Diffstat (limited to 'embassy-rp/src')
| -rw-r--r-- | embassy-rp/src/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/intrinsics.rs b/embassy-rp/src/intrinsics.rs index 50934e04f..04da74cfd 100644 --- a/embassy-rp/src/intrinsics.rs +++ b/embassy-rp/src/intrinsics.rs | |||
| @@ -284,7 +284,7 @@ macro_rules! intrinsics { | |||
| 284 | // alias the division operators to these for a similar reason r0 is the | 284 | // alias the division operators to these for a similar reason r0 is the |
| 285 | // result either way and r1 a scratch register, so the caller can't assume it | 285 | // result either way and r1 a scratch register, so the caller can't assume it |
| 286 | // retains the argument value. | 286 | // retains the argument value. |
| 287 | #[cfg(target_arch = "arm")] | 287 | #[cfg(all(target_arch = "arm", feature = "intrinsics"))] |
| 288 | core::arch::global_asm!( | 288 | core::arch::global_asm!( |
| 289 | ".macro hwdivider_head", | 289 | ".macro hwdivider_head", |
| 290 | "ldr r2, =(0xd0000000)", // SIO_BASE | 290 | "ldr r2, =(0xd0000000)", // SIO_BASE |
