File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434//!
3535//! This crate expects the user, or some other crate, to provide the memory layout of the target
3636//! device via a linker script named `memory.x`. This section covers the contents of `memory.x`
37- //! The `memory.x` file is used by during linking by the `link.x` script provided by this crate.
37+ //! The `memory.x` file is used during linking by the `link.x` script provided by this crate.
3838//!
3939//! ### `MEMORY`
4040//!
4141//! The linker script must specify the memory available in the device as, at least, two `MEMORY`
4242//! regions: one named `FLASH` and one named `RAM`. The `.text` and `.rodata` sections of the
4343//! program will be placed in the `FLASH` region, whereas the `.bss` and `.data` sections, as well
44- //! as the heap,will be placed in the `RAM` region.
44+ //! as the heap, will be placed in the `RAM` region.
4545//!
4646//! ```text
4747//! /* Linker script for the STM32F103C8T6 */
@@ -444,7 +444,7 @@ use core::arch::global_asm;
444444use core:: fmt;
445445
446446// HardFault exceptions are bounced through this trampoline which grabs the stack pointer at
447- // the time of the exception and passes it to th euser 's HardFault handler in r0.
447+ // the time of the exception and passes it to the user 's HardFault handler in r0.
448448// Depending on the stack mode in EXC_RETURN, fetches stack from either MSP or PSP.
449449#[ cfg( cortex_m) ]
450450global_asm ! (
You can’t perform that action at this time.
0 commit comments