Install ATTINY Core on Arduino 2.3.2 (Windows 10 64bit)
by jjxjxx in Teachers > University+
1558 Views, 0 Favorites, 0 Comments
Install ATTINY Core on Arduino 2.3.2 (Windows 10 64bit)
The usualy method of installing ATtiny core using "http://drazzy.com/package_drazzy.com_index.json" can result the following error:
Some indexes could not be updated. Get "https://drazzy.com/package_drazzy.com_index.json": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: : http://drazzy.com/package_drazzy.com_index.json
This guide shows an alternative method of installing the ATtiny core, bypassing the SSL certificate error.
Download the JSON File
Right click on the https://drazzy.com/package_drazzy.com_index.json file like and select "Save as" to save the json file.
If download fails due to SSL certs expired, run the following command in command prompt.
curl -k https://drazzy.com/package_drazzy.com_index.json >> package_drazzy.com_index.json
The command above will save the json file to c:\Users\[winodws_login_name]\ folder.
Copy JSON File to Arduino Cache Folder
Copy package_drazzy.com_index.json to C:\Users\[winodws_login_name]\AppData\Local\Arduino15 folder
Trick Arduino IDE 2.3.2 Into Downloading the Packages
Open Arduino IDE, go to File - Perference, copy and paste the URL into Additional boards manager URLS like so:
Install ATtiny Core
Finally, type attiny into Boards Manager's search bar, and Attiny core will become available for install.