cortex_m_interrupt_take!() { /* proc-macro */ }
Expand description

interrupt_take procedural macro

core::panic! is used as a default way to panic in this macro as there is no sensible way of enabling/disabling defmt for macro generation. We are aware that this brings bloat in the form of core::fmt, but the bloat is already included with e.g. array indexing panics. To get rid of this bloat, use the compiler flags -Zbuild-std=core -Zbuild-std-features=panic_immediate_abort.