-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
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)
- Install the apropriate libraries
sudo pacman -S libusb libusb-compat # you may need build-essential on other platforms too
- Built
micronucleus(without static linking)
git clone https://github.com/micronucleus/micronucleus.git
cd ./micronucleus/commandline
sed -i 's/STATIC *= *-static/STATIC =/g' ./Makefile
make
- Move
micronucleusto the apropriate folder
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
- Create a
package.json
nano ~/.arduino15/packages/micronucleus/package_micronucleus_index.json
{
"packages": [
{
"name": "micronucleus",
"tools": [
{
"name": "micronucleus",
"version": "2.5",
"systems": [
{
"archiveFileName": "micronucleus",
"url": "",
"checksum": ""
}
]
}
]
}
]
}- Download the core into the hardware folder
mkdir ~/Arduino/hardware/
cd ~/Arduino/hardware/
git clone https://github.com/SpenceKonde/ATTinyCore
- Remove prefix from
boards.txt& restart the IDE
cd ./ATTinyCore/avr/
sed -i 's|{runtime.platform.path}/bootloaders||g' ./boards.txt
(interestignly if you don't remove this prefix it repeats the path & it can't find the Bootloader file)
Bootloader file specified but missing: /home/xou/Arduino/hardware/ATTinyCore/avr/bootloaders/home/xou/Arduino/hardware/ATTinyCore/avr/bootloaders/micronucleus/upgrade-attiny85_extrf_porf.hex[!TIP]
You may skip steps 1 and 2 by simply downloading the micronucleus executable directly into step 3
Why?
Why am I sharing it? to help others + because I think this will help with tests since you
... desperately need people to do manual installs and help test it
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 ✌️
Metadata
Metadata
Assignees
Labels
No labels