sudo pacman -S libusb libusb-compat # you may need build-essential on other platforms too
git clone https://github.com/micronucleus/micronucleus.git
cd ./micronucleus/commandline
sed -i 's/STATIC *= *-static/STATIC =/g' ./Makefile
make
mkdir -p ~/.arduino15/packages/micronucleus/tools/micronucleus/2.5
cp ./micronucleus ~/.arduino15/packages/micronucleus/tools/micronucleus/2.5/
chmod +x ~/.arduino15/packages/micronucleus/tools/micronucleus/2.5/micronucleus
nano ~/.arduino15/packages/micronucleus/package_micronucleus_index.json
{
"packages": [
{
"name": "micronucleus",
"tools": [
{
"name": "micronucleus",
"version": "2.5",
"systems": [
{
"archiveFileName": "micronucleus",
"url": "",
"checksum": ""
}
]
}
]
}
]
}
mkdir ~/Arduino/hardware/
cd ~/Arduino/hardware/
git clone https://github.com/SpenceKonde/ATTinyCore
cd ./ATTinyCore/avr/
sed -i 's|{runtime.platform.path}/bootloaders||g' ./boards.txt
Why am I sharing it? to help others + because I think this will help with tests since you
Idk if there's any easier way to install the 2.0.0 version of the core, but yeah... that's how it worked for me. Tested it on my latest project https://github.com/GiorgosXou/ATTiny85-MNIST-RNN-EEPROM and it works just fine
Edit: My first, non so successful attempt
(Partial) Solution
This didn't really help 😅 so... here's how I managed to install it manually step by step on Arduino IDE 2.3.6. (the only caveat is that I can't burn a bootloader)
micronucleus(without static linking)micronucleusto the apropriate folderpackage.json{ "packages": [ { "name": "micronucleus", "tools": [ { "name": "micronucleus", "version": "2.5", "systems": [ { "archiveFileName": "micronucleus", "url": "", "checksum": "" } ] } ] } ] }boards.txt& restart the IDE(interestignly if you don't remove this prefix it repeats the path & it can't find the Bootloader file)
Why?
Why am I sharing it? to help others + because I think this will help with tests since you
Outro
Idk if there's any easier way to install the 2.0.0 version of the core, but yeah... that's how it worked for me. Tested it on my latest project https://github.com/GiorgosXou/ATTiny85-MNIST-RNN-EEPROM and it works just fine
peace out ✌️