AVR-GCC 12.1.0 for Windows 32 and 64 bit
This is where I’ll be uploading builds of AVR-GCC for Windows 32 and 64 bit, which will also include Binutils, AVR-LibC, AVRDUDE, Make and GDB. I’ll be trying to keep the builds up to date with the latest tool releases when I can.
The binaries are built from source on a Debian 11 virtual machine with MinGW (GCC 9.1.0 and older were built on an Arch Linux VM), apart from AVRDUDE where the pre-built binaries are obtained from the official download area. Both 32 bit and 64 bit Windows binaries are provided. There’s probably no benefit from using the 64 bit stuff, but all the cool kids are doing it so why not.
A bash script for building AVR-GCC, AVR-Binutils, AVR-LibC and AVR-GDB from source is also provided below, making it super easy to build these tools for yourself.
Included tools
Tool | Version |
---|---|
GCC | 12.1.0 |
Binutils | 2.38 |
AVR-LibC | SVN with extras |
GDB | 12.1 |
AVRDUDE | 7.0 (Not included in Linux release) |
Make | 4.2.1 (Not included in Linux release) |
Downloads
LATEST
![]() |
avr-gcc-12.1.0-x64-windows.zip (115 MB)
AVG-GCC 12.1.0 Windows x64 (64 bit) MD5: 183ACF05589C85E1C8022B2472157E85 |
LATEST
![]() |
avr-gcc-12.1.0-x86-windows.zip (116 MB)
AVG-GCC 12.1.0 Windows x86 (32 bit) MD5: C846DAA58C4CBAC0B0C72FC9D1CAA288 |
LATEST
![]() |
avr-gcc-12.1.0-x64-linux.tar.bz2 (86.7 MB)
AVG-GCC 12.1.0 Linux x64 MD5: 5314AE8144E633478B91B0015BD3FC54 |
Older releases can be found [HERE]
Upgrading the Arduino IDE
Upgrading the Arduino IDE is pretty easy, though there could be some incompatibilities with certain libraries. Only tested with Arduino 1.8.13.
- Download and extract one of the downloads above
- Navigate to your Arduino IDE folder
- Go to
hardware/tools
- Move the
avr
folder somewhere else, like to your desktop (renaming the folder won’t work, Arduino has some auto-detect thing which sometimes gets confused) - Move the extracted folder from earlier to the
tools
folder and rename it toavr
- Copy
bin/avrdude.exe
andbuiltin_tools_versions.txt
files andetc
folder from the oldavr
folder to the new one - Done! Open up the Arduino IDE, load up the Blink example, upload it to your Arduino and make sure the LED is blinking!
Build Script
This build script will install the required packages, create directories and build the tools from source. This should work on Debian 8+, Ubuntu 16.04+, CentOS 7 and maybe Arch.
Comments
Skip to comment form