Skip to content

Not compatible with ArduinoCore-arc32 #16

Closed
@sandeepmistry

Description

@sandeepmistry

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions