One of the solutions is to handle USB (and probably USART) interrupts and then move to the RTIC execution model.