Merged Paul Stoffregen's Teensy3.1 support code