SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.58k stars 306 forks source link

An error in the http://drazzy.com/package_drazzy.com_index.json file. #723

Closed yendoric closed 2 years ago

yendoric commented 2 years ago

extra comma at end of line 3243 causes: "SyntaxError: JSON.parse: unexpected character at line 3242 column 11 of the JSON data"

kelogs commented 2 years ago

Could this be why Arduino IDE won't show up the ATTiny boards anymore ? tried to manually (re)install it without success either

ecrzgz commented 2 years ago

We can´t see ATTiny boards in the arduino ide, anybody know how do we resolve it?

theosteini commented 2 years ago

@kelogs @ecrzgz Yes because of this you can't see the ATTINY boards. To solve this go to Documents/ArduinoData. Open the .json file: package_drazzy.com_index.json Go to line 3241 and remove the comma and save the file. After that everything should work again. Maybe you have to open the library manager in the tools section of your Arduino IDE so that the librarys update.
Unbenannt

kelogs commented 2 years ago

@theosteini yes, the libraries do update, causing a fresh copy of the .json to be downloaded. Any way around it ?

Eventually, after moving boards.txt to the variants subfolder, Arduino IDE started showing the ATtiny boards but would not compile anything:

loading hardware from /home/kellogs/Sensory/hardware: loading package avr: invalid version dir /home/kellogs/Sensory/hardware/avr/extras/development: no major version found

ecrzgz commented 2 years ago

@theosteini, Thank you very much. I think so everythink wprk properly now

yendoric commented 2 years ago

Do as theostini suggests, but he has line number wrong. Save file and then make read-only. Then try to remember to delete it when the file is eventually fixed.

SpenceKonde commented 2 years ago

issue with the was quiickly fixed