Fresh install of 2019-09 not working [message #1814918] |
Sun, 22 September 2019 19:22  |
Eclipse User |
|
|
|
Had a version of Photon running with Arduino. I recently installed the latest 2019-09 version.
When I try to add Platforms using Arduino downloads manager, nothing happens.
The error log indicates an error showing "No valid system for avr-gcc".
One big difference I notice is that the .arduinocdt folder in this install has only two json files. The Photon version I had used to have many more files.
I have tried doing my own research but not making progress, and it's frustrating!
[Updated on: Mon, 23 September 2019 10:11] by Moderator
|
|
|
|
|
|
|
|
|
|
Re: Fresh install of 2019-09 not working [message #1815705 is a reply to message #1815700] |
Tue, 08 October 2019 11:00   |
Eclipse User |
|
|
|
Hi,
I had the same issue when trying to update from Arduino 1.6.23 to 1.8.1 and got a window showing "No valid system found for avr-gcc"
So I deleted 1.6.23 in the "Downloads manager" and tried to add 1.8.1 . This time, no error message window, just nothing. However I saw this is in the error log. Same error
------------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.cpp.product -keyring /Users/andylemay/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -keyring /Users/andylemay/.eclipse_keyring
org.eclipse.cdt.arduino.core
Error
Tue Oct 08 13:11:14 SAST 2019
No valid system found for avr-gcc
------------------------------------------------
So I tried renaming / deleting .arduinocdt as per this article
bugs.eclipse.org/bugs/show_bug.cgi?id=480181
Had to remove the "H T T P S : ?/ /" in the link it due to newbie status.
to force a reinstall... No difference. Same error in error log "No valid system found for avr-gcc" message in log.
Then I tried clicking all the Arduino board types in "add".. no difference. Same error "No valid system found for avr-gcc" message in log.
So then I though I'll just add back version 1.6.23. but you can't choose the version to install. So there I am stuck. I've deleted 1.6.23 and now can't add it back.
So then I tried to edit the "package_index.json" file and remove the section referring to 1.8.1.
{
"name": "Arduino AVR Boards",
"architecture": "avr",
"version": "1.8.1",
"category": "Arduino",
.....
},
But the "package_index.json" file get's reloaded when you enter the "Arduino Download manager - Add"
So then I disconnected the internet before I edited the "package_index.json" file . Then went into the "Add". This time the 1.6.23 version shows. Then reconnect to internet before hitting "Add" and it adds 1.6.23 and all the correct supporting installs.
Whilst this works, it could be due to the definition of the avr-gcc resources. Further down in the "package_index.json" file you find this section.
{
"name": "avr-gcc",
"version": "5.4.0-atmel3.6.1-arduino2",
"systems": [
{
With this entry
{
"size": "31894498",
"checksum": "SHA-256:abc50137543ba73e227b4d1b8510fff50a474bacd24f2c794f852904963849f8",
"host": "i386-apple-darwin11",
"archiveFileName": "avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2",
"url": "http://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2"
},
the next section for "7.3.0-atmel3.6.1-arduino5" has this with no mention of i386.
{
"size": "38492678",
"checksum": "SHA-256:f48706317f04452544ab90e75bd1bb193f8af2cb1002f53aa702f27202c1b38f",
"host": "x86_64-apple-darwin14",
"archiveFileName": "avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2",
"url": "http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino5-x86_64-apple-darwin14.tar.bz2"
},
Perhaps this is confusing the install program? No idea but perhaps the developers could take a look?
Andy
|
|
|
|
|
|
|
|
Re: Fresh install of 2019-09 not working [message #1836372 is a reply to message #1817704] |
Wed, 30 December 2020 17:10  |
Eclipse User |
|
|
|
where are these files located? I can't find them on my MacOS Mojave. I have Arduino 1.8.13 installed and Eclipse 2020-12 C++.
gcc-avr files are under:
packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5
avrdude files are under (note the avrdude folder):
packages/arduino/tools/avrdude/6.3.0-arduino17
[Updated on: Wed, 30 December 2020 17:11] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.28592 seconds