allow user to avoid use of interrupts and fixed swspi imports