Skip to content

Not compatible with ArduinoCore-arc32 #16

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

Closed
sandeepmistry opened this issue Aug 27, 2018 · 1 comment
Closed

Not compatible with ArduinoCore-arc32 #16

sandeepmistry opened this issue Aug 27, 2018 · 1 comment

Comments

@sandeepmistry
Copy link

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

@sandeepmistry
Copy link
Author

I've enabled verbose output to get more info:

/home/travis/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1/bin/arc-elf32-g++ -c -mcpu=quarkse_em -mlittle-endian -g -Os -Wall -fno-reorder-functions -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-defer-pop -Wno-unused-but-set-variable -Wno-main -ffreestanding -fno-stack-protector -mno-sdata -ffunction-sections -fdata-sections -fsigned-char -fno-rtti -fno-exceptions -fcheck-new -D__ARDUINO_ARC__ -std=c++11 -DCONFIG_BLUETOOTH_PERIPHERAL -DCONFIG_BLUETOOTH_CENTRAL -DCONFIG_BLUETOOTH_GATT_CLIENT -w -x c++ -E -CC -DF_CPU=32000000L -DARDUINO=10600 -DARDUINO_ARC32_TOOLS -DARDUINO_ARCH_ARC32 -D__CPU_ARC__ -DCLOCK_SPEED=32 -DCONFIG_SOC_GPIO_32 -DCONFIG_SOC_GPIO_AON -DINFRA_MULTI_CPU_SUPPORT -DCFW_MULTI_CPU_SUPPORT -DHAS_SHARED_MEM -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/system/libarc32_arduino101/common -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/system/libarc32_arduino101/drivers -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/system/libarc32_arduino101/bootcode -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/system/libarc32_arduino101/framework/include -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/cores/arduino -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/variants/arduino_101 -I/home/travis/.arduino15/packages/Intel/hardware/arc32/2.0.2/libraries/SPI/src -I/home/travis/Arduino/libraries/WiFi101/src /tmp/arduino-sketch-B8FC578F1BEDAD8F6E51480D893635FC/sketch/AP_SimpleWebServer.ino.cpp -o /dev/null
In file included from /tmp/arduino-sketch-B8FC578F1BEDAD8F6E51480D893635FC/sketch/AP_SimpleWebServer.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.

It turns out ARDUINO is defined but set to10600 (-DARDUINO=10600).

@cmaglie cmaglie added this to the Next alpha.preview milestone Aug 28, 2018
@cmaglie cmaglie added the bug label Aug 30, 2018
per1234 added a commit that referenced this issue Aug 9, 2021
Make schema.pathURI() produce specification-compliant URIs from Windows paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants