You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit puzzled, I just installed platformIO, and used it to build some test code which includes RFM69 library (which I installed via platformio lib install 92) for arduino uno.
Everything works fine but I got an issue with the #include <SPI.h> line in the RFM69 file: .pioenvs/autogen_uno/RFM69_ID92/RFM69.cpp:33:17: fatal error: SPI.h: No such file or directory
The strange thing is that if I #include <SPI.h> in main.ino, it compiles fine, so I suspect there's something wrong.
I'm running linux mint if that's of any help, and followed the get started page to get things running.
Is it a bug, or did I miss something?
The text was updated successfully, but these errors were encountered:
Solution
Please add to your main source file this line:
I'm a bit puzzled, I just installed platformIO, and used it to build some test code which includes RFM69 library (which I installed via
platformio lib install 92
) for arduino uno.Everything works fine but I got an issue with the
#include <SPI.h>
line in the RFM69 file:.pioenvs/autogen_uno/RFM69_ID92/RFM69.cpp:33:17: fatal error: SPI.h: No such file or directory
The strange thing is that if I
#include <SPI.h>
in main.ino, it compiles fine, so I suspect there's something wrong.I'm running linux mint if that's of any help, and followed the get started page to get things running.
Is it a bug, or did I miss something?
The text was updated successfully, but these errors were encountered: