1
TinyDuino Processors & TinyShields / Re: Compile error when linking TinyDuino with Rockblock
« on: January 08, 2019, 01:30:14 AM »
So I have found a solution:
----
This bug is specific to the 5.4.0-atmel3.6.1-arduino2 version of avr-gcc used by Arduino AVR Boards 1.6.22 and newer. It has been reported here:
https://github.com/arduino/ArduinoCore-avr/issues/39
A workaround is described in the link above.
Here's a less desirable, but possibly easier alternative workaround:
* Tools > Board > Boards Manager
* Wait for downloads to finish.
* When you move the mouse pointer over "Arduino AVR Boards", you will see a "Select version" dropdown menu appear. Select "1.6.21".
* Click "Install".
* Wait for installation to finish.
* Click "Close".
Due to a bug, this alternative workaround doesn't work with Arduino IDE 1.8.6, but it will work with any other version of the Arduino IDE.
If you have File > Preferences > Check for updates on startup checked, the Arduino IDE may occasionally notify you that a new version of Arduino AVR Boards is available, you'll need to refrain from updating back to the new Arduino AVR Boards version, otherwise you'll be back to seeing the segmentation fault error again.
------
The above is taken from: https://forum.arduino.cc/index.php?topic=574020.0 - so not my solution
----
This bug is specific to the 5.4.0-atmel3.6.1-arduino2 version of avr-gcc used by Arduino AVR Boards 1.6.22 and newer. It has been reported here:
https://github.com/arduino/ArduinoCore-avr/issues/39
A workaround is described in the link above.
Here's a less desirable, but possibly easier alternative workaround:
* Tools > Board > Boards Manager
* Wait for downloads to finish.
* When you move the mouse pointer over "Arduino AVR Boards", you will see a "Select version" dropdown menu appear. Select "1.6.21".
* Click "Install".
* Wait for installation to finish.
* Click "Close".
Due to a bug, this alternative workaround doesn't work with Arduino IDE 1.8.6, but it will work with any other version of the Arduino IDE.
If you have File > Preferences > Check for updates on startup checked, the Arduino IDE may occasionally notify you that a new version of Arduino AVR Boards is available, you'll need to refrain from updating back to the new Arduino AVR Boards version, otherwise you'll be back to seeing the segmentation fault error again.
------
The above is taken from: https://forum.arduino.cc/index.php?topic=574020.0 - so not my solution