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 34
34
//!
35
35
//! This crate expects the user, or some other crate, to provide the memory layout of the target
36
36
//! 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.
38
38
//!
39
39
//! ### `MEMORY`
40
40
//!
41
41
//! The linker script must specify the memory available in the device as, at least, two `MEMORY`
42
42
//! regions: one named `FLASH` and one named `RAM`. The `.text` and `.rodata` sections of the
43
43
//! 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.
45
45
//!
46
46
//! ```text
47
47
//! /* Linker script for the STM32F103C8T6 */
@@ -444,7 +444,7 @@ use core::arch::global_asm;
444
444
use core:: fmt;
445
445
446
446
// 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.
448
448
// Depending on the stack mode in EXC_RETURN, fetches stack from either MSP or PSP.
449
449
#[ cfg( cortex_m) ]
450
450
global_asm ! (
You can’t perform that action at this time.
0 commit comments