Skip to content

Commit 6a4fcee

Browse files
committed
docs improvements
1 parent f792b0b commit 6a4fcee

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

link.x.in

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Possible solutions, from most likely to less likely:
9292
pac crate
9393
- Disable the 'device' feature of msp430-rt to build a generic application; a dependency
9494
may be enabling it
95+
- Override __VECTORS_END_ADDR if your vector table is not placed at the regular vector location
9596
");
9697

9798
ASSERT(_sgot == _egot, "

src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@
6363
//! }
6464
//! ```
6565
//!
66+
//! By default, the linker will check that the address after the vector table is 0x10000 to
67+
//! ensure that the vector table is placed correctly. For special cases like bootloader
68+
//! setups, you might want to place the vector table somewhere else. For theses cases,
69+
//! you can re-configure the expected end address by setting `__VECTORS_END_ADDR` in your
70+
//! `memory.x` file.
71+
//!
6672
//! # An example
6773
//!
6874
//! This section presents a minimal application built on top of `msp430-rt`.
@@ -113,12 +119,6 @@
113119
//! app: ELF 32-bit LSB executable, TI msp430, version 1 (embedded), statically linked, not stripped
114120
//! ```
115121
//!
116-
//! By default, the linker will check that the address after the vector table is 0x10000 to
117-
//! ensure that the vector table is placed correctly. For special cases like bootloader
118-
//! setups, you might want to place the vector table somewhere else. For theses cases,
119-
//! you can re-configure the expected end address by setting `__VECTOR_END_ADDR` in your
120-
//! `memory.x` file.
121-
//!
122122
//! # Optional features
123123
//!
124124
//! ## `device`

0 commit comments

Comments
 (0)