Issue: SPI doesn't work on Teensy LC (works from Teensyduino)

I’m not sure if there’s something I’m doing wrong, but it appears SPI doesn’t work at all when building and uploading from platformio to Teensy LC, despite it working from Teensyduino.