Update MSYS to use the 5.4.0 toolchain (#4106)

This commit is contained in:
Drashna Jaelre 2018-11-27 13:45:01 -08:00 committed by MechMerlin
parent d79b5e67b6
commit 82c02d9b8d
1 changed files with 5 additions and 3 deletions

View File

@ -13,9 +13,11 @@ source "$dir/win_shared_install.sh"
function install_avr {
rm -f -r "$avrtools"
wget "http://ww1.microchip.com/downloads/en/DeviceDoc/avr8-gnu-toolchain-installer-3.5.4.91-win32.any.x86.exe"
7z x avr8-gnu-toolchain-installer-3.5.4.91-win32.any.x86.exe
rm avr8-gnu-toolchain-installer-3.5.4.91-win32.any.x86.exe
wget "http://ww1.microchip.com/downloads/en/DeviceDoc/avr8-gnu-toolchain-3.6.1.1752-win32.any.x86.zip"
7z x avr8-gnu-toolchain-3.6.1.1752-win32.any.x86.zip
mv avr8-gnu-toolchain-win32_x86/ avr8-gnu-toolchain
rm __MACOSX -R
rm avr8-gnu-toolchain-3.6.1.1752-win32.any.x86.zip
pacman --needed -S mingw-w64-x86_64-avrdude
}