Remove legacy default_interrupts calls. Mark flash code as noinline.