-
Notifications
You must be signed in to change notification settings - Fork 0
Compatibility issues
Despite the effort on writing portable code, there are compatibility issues with a few platform.
Energia is a fork or Arduino IDE for TI devices. It has not been updated for the new Arduino library layout.
Until this gets fix, you need to download the "old-layout" package:
For Arduino 1.0.x, see issue #189.
For energia, see issues #43, #97, #114 and #116
For Stino, see issues #74 and #139.
Are also conserned all board based on ESP8266: Adafruit HUZZAH, SparkFun Thing, etc.
There is a known bug in Arduino core for ESP8266 WiFi chip that has been fixed on August 25th 2015.
Please make sure you're using a newer version before posting a new issue.
As I'm writing theses lines, you need to use the "staging" version because the "stable" version is too old.
See issues #101, #125, #155 and #185 and #233.
This is a known bug in Arduino core for Intel Edison.
A pull request has been submitted but is still waiting for approval.
Until this gets fixed, just insert the following line in your local cores/arduino/WString.h:
const char * c_str() const { return buffer; }
On Windows, the file is likely to be located here:
%LOCALAPPDATA%\Arduino15\packages\Intel\hardware\i686\1.6.2+1.0\cores\arduino\WString.h
This is a known bug in Arduino core for Intel Galileo.
A pull request has been submitted but is still waiting for approval.
Until this gets fixed, just insert the following line in your local cores/arduino/WString.h:
const char * c_str() const { return buffer; }
On Windows, the file is likely to be located here:
%LOCALAPPDATA%\Arduino15\packages\Intel\hardware\i586\1.6.7+1.0\cores\arduino\WString.h
on mac
~/Library/Arduino15/packages/Intel/hardware/i586/1.6.7+1.0/cores/arduino/WString.h
See issue #299.
This is a known bug in Arduino core for BLE Nano.
A pull request has been submitted but is still waiting for approval.
Until this gets fixed, just insert the following line in your local cores/arduino/WString.h:
const char * c_str() const { return buffer; }
On Windows, the file is likely to be located here:
%LOCALAPPDATA%\Arduino15\packages\RedBearLab\hardware\nRF51822\1.0.5\cores\RBL_nRF51822\WString.h
See issue #222
Some platforms need some time to initialize the serial port.
In that case, you need to add a delay(1000) in the setup() function.
See issue #112.
Arduino IDE 1.6.6 bug #4075 makes the build fail with the following error:
error: 'namespaceArduinoJson' does not name a type
You need to upgrade to 1.6.7.
This is a very common issue. If ArduinoJson doesn't appear in Libray Manager, or if only old versions are listed, try to delete the local cache. This will force the Libray Manager to download the library list from scratch.
For example, on Windows, you need to delete:
%LOCALAPPDATA%\Arduino15\library_index.json%LOCALAPPDATA%\Arduino15\library_index.json.tmp.gz
You don't even need to close Arduino, just re-open the library manager.
Due to the non-standard library structure, ArduinoJson won't compile for older versions of Visual Micro - the solution is simply to upgrade to Visual Micro from January 2016 or later.
See issue #238.
There is a known bug in the WifiManager library < 0.12.
This caused a compilation error in ArduinoJson:
ArduinoJson/include/ArduinoJson/Internals/../Internals/../Polyfills/isNaN.hpp:29:17: error: 'isnan' was not declared in this scope
To fix the issue, simply upgrade WifiManager to >= 0.12 or ArduinoJson >= 5.6.2
See issue #284
For some reason, it's not possible to use ArduinoJson with CodeBender.
See discussion here: http://feedback.codebender.cc/forums/280538-library-requests/suggestions/7238254-arduinojson-support
There is a bug in Arduino SAMD core that make prettyPrintTo() fail (issue #327)
It's been fixed on May 27th by arduino/ArduinoCore-samd@8ef9bb3 and arduino/ArduinoCore-samd@8d0c167. Unfortunately, version 1.6.6 only includes modifications up to May 19th, so the fix is not available through the Arduino Boards Manager.
I recommend to apply the modification manually or wait until the next release of the Arduino SAMD Core.
The files to change are USBCore.cpp and CDC.cpp.
They are located here on Windows:
%LOCALAPPDATA%\Arduino15\packages\arduino\hardware\samd\1.6.6\cores\arduino\USB
If you pass the flag --fpack-struct to the compiler, it will generate the following warning:
warning: ignoring packed attribute because of unpacked non-POD field
No solution has been found so far: you need to remove that flag if you want to get rid of that warning.
See issue #255