Macro r3_port_arm_m::use_rt
source · macro_rules! use_rt { (unsafe $Traits:ty) => { ... }; }
Expand description
Generate entry points for [::cortex_m_rt]. Requires EntryPoint
and KernelTraits to be implemented.
This macro registers the following items:
- The entry function (
#[cortex_m_rt::entry]). - The SysTick handler (
SysTickglobal symbol). - The PendSV handler (
PendSVglobal symbol). - Interrupt handlers and the vector table (
__INTERRUPTSglobal symbol).