#[repr(C)]pub struct Header { /* private fields */ }
Expand description
This is the ‘Binary Info’ header block that picotool
looks for in your UF2
file/ELF file/Pico in Bootloader Mode to give you useful metadata about your
program.
It should be placed in the first 4096 bytes of flash, so use your memory.x
to insert a section between .text
and .vector_table
and put a static
value of this type in that section.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl !Send for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more