- Download and extract AVR GCC for Windows to
%AVR_TOOLCHAIN_PATH%
- Download and extract avrdude (
avrdude.exe
andavrdude.conf
) to%AVR_TOOLCHAIN_PATH%\bin
- Add
%AVR_TOOLCHAIN_PATH%\bin
toPATH
environmental variable
- Install
gcc-avr
,avr-libc
,make
,avrdude
$ sudo apt -y install gcc-avr avr-libc make avrdude
- Get micronucleus and add to
%AVR_TOOLCHAIN_PATH%\bin
- Install USB driver following the instructions here
- Build and install
micronucleus
tool
$ sudo apt -y install libusb-dev
$ git clone https://github.com/micronucleus/micronucleus
$ cd commandline
$ sudo make install
- Install
udev
rule
$ sudo cp commandline/49-micronucleus.rules /etc/udev/rules.d/
$ sudo udevadm control --reload-rules