aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cortex-m-rt/src/lib.rs4
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
//! {