diff options
author | 2020-04-28 22:11:31 +0200 | |
---|---|---|
committer | 2020-04-28 22:11:31 +0200 | |
commit | ba7496c5bffeb31cc206f24de3c35b6cf7ae962c (patch) | |
tree | 04dd19ddf5afd42fbe27516f170fa1d755a69017 /src/lib.rs | |
parent | e41b27331c70865b89b5584b13c0b469de30daff (diff) | |
download | cortex-m-ba7496c5bffeb31cc206f24de3c35b6cf7ae962c.tar.gz cortex-m-ba7496c5bffeb31cc206f24de3c35b6cf7ae962c.tar.zst cortex-m-ba7496c5bffeb31cc206f24de3c35b6cf7ae962c.zip |
Use llmv_asm! macro for inline assembly
\ fixes #204
the `asm!` macro will soon be deprecated.
This changes all of the `asm!` calls to `llvm_asm!`
To my knowledge doing a direct replacement should be fine.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ +#![feature(llvm_asm)] //! Low level access to Cortex-M processors //! //! This crate provides: @@ -12,7 +13,7 @@ //! ## `inline-asm` //! //! When this feature is enabled the implementation of all the functions inside the `asm` and -//! `register` modules use inline assembly (`asm!`) instead of external assembly (FFI into separate +//! `register` modules use inline assembly (`llvm_asm!`) instead of external assembly (FFI into separate //! assembly files pre-compiled using `arm-none-eabi-gcc`). The advantages of enabling `inline-asm` //! are: //! |