Skip to content

Commit d1ddbce

Browse files
committed
more specific ref to link_section attributes
1 parent 0fdefc9 commit d1ddbce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cortex-m-rt/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,11 @@
392392
//! Some microcontrollers provide additional memory regions beyond RAM and FLASH.
393393
//! For example, some STM32 devices provide "CCM" or core-coupled RAM that is
394394
//! only accessible from the core. In order to access these using
395-
//! `#[link_section=".foo"]` from your code, you need to modify `memory.x`
395+
//! [`link_section`] attributes from your code, you need to modify `memory.x`
396396
//! to declare the additional sections:
397397
//!
398+
//! [`link_section`]: https://doc.rust-lang.org/reference/abi.html#the-link_section-attribute
399+
//!
398400
//! ```text
399401
//! MEMORY
400402
//! {

0 commit comments

Comments
 (0)