Closed
Description
I'm testing out the CLI in Travis CI, it's working well with the AVR and SAMD cores. However, for arc32 and the Arduino 101 I get the following error while building:
$ buildExampleSketch CheckWifi101FirmwareVersion
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
-> candidates: [[email protected]]
Alternatives for WiFi101.h: [[email protected]]
ResolveLibrary(WiFi101.h)
-> candidates: [[email protected]]
In file included from /tmp/arduino-sketch-F9CB3999A80546D8E181C96DC53B4EB6/sketch/CheckWifi101FirmwareVersion.ino.cpp:1:0:
/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/cores/arduino/Arduino.h:35:2: error: #error IDE version incompatible with Arduino 101. Please upgrade to version 1.6.7 or newer.
#error IDE version incompatible with Arduino 101. Please upgrade to version 1.6.7 or newer.
^
The core has the following check in Arduino.h
:
#if ARDUINO < 10607
#error IDE version incompatible with Arduino 101. Please upgrade to version 1.6.7 or newer.
#endif
Should the CLI define ARDUINO
for backwards compatibility purposes? @facchinm @cmaglie
Metadata
Metadata
Assignees
Labels
No labels