Macro mimxrt500_bootstub::bootstub_builtin
source · macro_rules! bootstub_builtin { () => { ... }; ($app_vectors:path) => { ... }; }
Expand description
Generates a bootstub for inclusion as part of the flash image for an application.
With no arguments the boot stub will try to automatically locate the
vector table generated by the cortex-m-rt crate’s linker script. This
is a good option if you are intending to follow embedded Rust idiom for
your application’s build process.
You can optionally provide an argument which refers to a static variable that must be a valid ARMv8-M vector table. This macro cannot verify that the given symbol does match the processor’s requirements for a vector table, and so if you specify an unreasonable symbol the behavior will be unsound.