logo
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 (SysTick global symbol).
  • The PendSV handler (PendSV global symbol).
  • Interrupt handlers and the vector table (__INTERRUPTS global symbol).