Replaced HardwareSerial with HardwareSerialIMXRT, now getting these errors that weren't there before. There seems to be definition conflicts in core_pins for MSBFIRST and LSBFIRST. Update: The errors are all solved when I use version 1.58 of teensyduino but not the recent version 1.59.....?