1

I'm trying to use Atom as an IDE for arduino and arduino-based boards.
I'm using arduino-cli for compilation and avrdude for upload, and now I'm trying to use linter-gcc for linting.

g++ is running and the linter seems to be working ok, but it's can't find built in libs. I've added:

"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\*"

to my GCC include paths, I've also tried copying the lib sources to my working directory, but I'm still getting (e.g.):

SPI.h: No such file or directory

Any ideas why gcc isn't seeing SPI.h?

0 Answers0