diff options
author | 2020-07-30 22:26:35 -0700 | |
---|---|---|
committer | 2020-07-30 22:26:35 -0700 | |
commit | d1ddbce570e6b5d68036a7f2d33b749c70452fc4 (patch) | |
tree | c4a2ecbb1d5c2a3de229c039dbb80e0a4fdeaf66 /cortex-m-rt/src/lib.rs | |
parent | 0fdefc9e729f5d039d6cfbcbc099105e9b40f902 (diff) | |
download | cortex-m-d1ddbce570e6b5d68036a7f2d33b749c70452fc4.tar.gz cortex-m-d1ddbce570e6b5d68036a7f2d33b749c70452fc4.tar.zst cortex-m-d1ddbce570e6b5d68036a7f2d33b749c70452fc4.zip |
more specific ref to link_section attributes
Diffstat (limited to '')
-rw-r--r-- | cortex-m-rt/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index d078a91..fe4ee20 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -392,9 +392,11 @@ //! Some microcontrollers provide additional memory regions beyond RAM and FLASH. //! For example, some STM32 devices provide "CCM" or core-coupled RAM that is //! only accessible from the core. In order to access these using -//! `#[link_section=".foo"]` from your code, you need to modify `memory.x` +//! [`link_section`] attributes from your code, you need to modify `memory.x` //! to declare the additional sections: //! +//! [`link_section`]: https://doc.rust-lang.org/reference/abi.html#the-link_section-attribute +//! //! ```text //! MEMORY //! { |