Skip to content

(Manual) Installation of ATTinyCore v2.0.0 on Arduino IDE v2.3.6 #915

@GiorgosXou

Description

@GiorgosXou
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)

  1. Install the apropriate libraries
sudo pacman -S libusb libusb-compat # you may need build-essential on other platforms too
  1. 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
  1. Move micronucleus to 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
  1. 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": ""
            }
          ]
        }
      ]
    }
  ]
}
  1. Download the core into the hardware folder
mkdir ~/Arduino/hardware/
cd ~/Arduino/hardware/
git clone https://github.com/SpenceKonde/ATTinyCore
  1. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions