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

Problem with #include <SPI.h> (from RFM69 library) #48

Closed
laurentS opened this issue Jan 15, 2015 · 3 comments
Closed

Problem with #include <SPI.h> (from RFM69 library) #48

laurentS opened this issue Jan 15, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@laurentS
Copy link

laurentS commented Jan 15, 2015

Solution

Please add to your main source file this line:

#include <SPI.h>

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?

@ivankravets ivankravets self-assigned this Jan 15, 2015
@ivankravets
Copy link
Member

@laurentS

Yes, this is a bug. Thanks a lot! I will fix it.

@ivankravets ivankravets modified the milestones: 1.0.0, 0.11.0 Jan 21, 2015
@ivankravets
Copy link
Member

@laurentS can you retest it with the latest develop?

$ pip uninstall platformio
$ pip install https://github.com/ivankravets/platformio/archive/develop.zip

Thanks a lot! If you have any problems, please reopen this issue.

@laurentS
Copy link
Author

@ivankravets just tested the latest develop, it works fine, thanks for fixing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants