Closed dontsovcmc closed 6 years ago
Operating system: MacOS, Visual Studio Code (Windows 10x64 also) PlatformIO Version: PlatformIO, version 3.5.0b3
I got error when build project that depends SPI.h src/main.cpp:2:17: fatal error: SPI.h: No such file or directory
src/main.cpp:2:17: fatal error: SPI.h: No such file or directory
The content of platformio.ini:
platformio.ini
[env:digispark-tiny] platform = atmelavr board = digispark-tiny framework = arduino
Source file to reproduce issue:
#include <Arduino.h> #include "SPI.h" void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }
The same with Arduino IDE. It seems that need to use custom SPI library
Configuration
Operating system: MacOS, Visual Studio Code (Windows 10x64 also) PlatformIO Version: PlatformIO, version 3.5.0b3
Description of problem
I got error when build project that depends SPI.h
src/main.cpp:2:17: fatal error: SPI.h: No such file or directory
Steps to Reproduce
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue: