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 188188//! ## `paint-stack`
189189//!
190190//! 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
193193//! have a value other than `STACK_PAINT_VALUE`.
194194//!
195195//! # Inspection
232232//! using the `main` symbol so you will also find that symbol in your program.
233233//!
234234//! - `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.
236236//!
237237//! - `HardFault` and `_HardFault`. These function handle the hard fault handling and what they
238238//! 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__: () = ();
899899/// Registers stacked (pushed onto the stack) during an exception.
900900#[ derive( Clone , Copy ) ]
901901#[ repr( C ) ]
902+ #[ allow( dead_code) ]
902903pub struct ExceptionFrame {
903904 r0 : u32 ,
904905 r1 : u32 ,
You can’t perform that action at this time.
0 commit comments