Hi @arunjothi. Unfortunately it is a bit tricky to install the excellent ATTinyCore boards platform currently. The reason you didn't find it in Boards Manager after adding it to your IDE preferences is due to a bug in Arduino IDE.
I'll provide instructions you can follow for a workaround to the bug:
- Select File > Quit from the Arduino IDE menus if it is running.
- Open the following folder in your file manager program (e.g., Windows File Explorer):
- You will see a file named
package_drazzy.json
in that folder. Rename it to package_drazzy.com_index.json
.
Now start Arduino IDE again. You should now see ATTinyCore (as well as the other SpenceKonde/DrAzzy) platforms listed in Boards Manager.
Now when you attempt to install ATTinyCore via Boards Manager, you will encounter another error, something like this:
ATTinyCore:micronucleus@2.5-azd1
Failed to install platform: 'ATTinyCore:avr:1.5.0'.
Error: 2 UNKNOWN: Get "https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-mingw32.tar.bz2 4": tls: failed to verify certificate: x509: certificate has expired or is not yet valid:
That error is caused by the author of ATTinyCore having forgotten to renew the SSL certificate on their website azduino.com. In order to overcome that problem, it is necessary to perform yet another workaround, according to these instructions:
1. Download the ATTinyCore:micronucleus@2.5-azd1b
Archive File
Unfortunately you will likely find that attempting to download this file via the browser is not very user friendly. For security reasons, the browser will try to strongly discourage from downloading it and you will have to make some efforts to overcome its resistance.
This is the download URL:
If you are using Windows:
http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip
If you are using Linux x86:
http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2
If you are using Linux ARM:
http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-arm-linux-gnueabihf.tar.bz2
If you are using macOS:
http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-apple-darwin.tar.bz2
2. Add the Downloaded File to the Boards Manager Cache
After you manage to download the file, copy it to the following folder:
If you are using Windows:
C:\Users\<username>\AppData\Local\Arduino15\staging\packages\
(Where <username>
is your Windows username)
If you are using Linux:
/home/<username>/.arduino15/staging/packages/
(Where <username>
is your Linux username)
If you are using macOS:
/Users/<username>/Library/Arduino15/staging/packages/
(Where <username>
is your macOS username)
3. Install ATTinyCore
Now try installing ATTinyCore as usual via the Arduino IDE Boards Manager again. The installation should now be successful.
After that, you will be able to use your Digispark board with Arduino IDE. There is some more information about that in the ATTinyCore documentation here.