File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 188
188
//! ## `paint-stack`
189
189
//!
190
190
//! Everywhere between `__sheap` and `___stack_start` is painted with the fixed value `STACK_PAINT_VALUE`.
191
- //! You can then inspect memory during debugging to determine how much of the stack has been used
192
- //! - where the stack has been used the 'paint' will have been 'scrubbed off' and the memory will
191
+ //! You can then inspect memory during debugging to determine how much of the stack has been used -
192
+ //! where the stack has been used the 'paint' will have been 'scrubbed off' and the memory will
193
193
//! have a value other than `STACK_PAINT_VALUE`.
194
194
//!
195
195
//! # Inspection
232
232
//! using the `main` symbol so you will also find that symbol in your program.
233
233
//!
234
234
//! - `DefaultHandler`. This is the default handler. If not overridden using `#[exception] fn
235
- //! DefaultHandler(..` this will be an infinite loop.
235
+ //! DefaultHandler(..` this will be an infinite loop.
236
236
//!
237
237
//! - `HardFault` and `_HardFault`. These function handle the hard fault handling and what they
238
238
//! do depends on whether the hard fault is overridden and whether the trampoline is enabled (which it is by default).
@@ -899,6 +899,7 @@ pub static __ONCE__: () = ();
899
899
/// Registers stacked (pushed onto the stack) during an exception.
900
900
#[ derive( Clone , Copy ) ]
901
901
#[ repr( C ) ]
902
+ #[ allow( dead_code) ]
902
903
pub struct ExceptionFrame {
903
904
r0 : u32 ,
904
905
r1 : u32 ,
You can’t perform that action at this time.
0 commit comments