Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teensy 4 Compile error SPI.h No such file or directory #911

seymar opened this issue Oct 25, 2019 · 1 comment


Copy link

@seymar seymar commented Oct 25, 2019

I am trying to build FastLED using PlatformIO for Teensy 4 and keep getting the following errors: related to SPI.h
FastLED_ID126/platforms/arm/mxrt1062/fastspi_arm_mxrt1062.h:7:17: fatal error: SPI.h: No such file or directory

FastLED 3.3.2
Teensy 4.4.0 Platform
framework-arduinoteensy 1.147.0 (1.47)


This comment has been minimized.

Copy link

@seymar seymar commented Oct 25, 2019

I added the following to ./.pio/libdeps/<env>/FastLED_ID126/library.json

         "name": "SPI",
         "frameworks": "arduino"

And lib_ldf_mode = chain+ to my platformio.ini

And now it works, but I have a feeling this is not the correct way to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.