@@ -70,66 +70,66 @@ type Core struct {
7070
7171func DownloadCoresAndToolsAndLibraries (t * testing.T ) {
7272 cores := []Core {
73- Core {Maintainer : "arduino" , Arch : "avr" , Version : "1.6.10" },
74- Core {Maintainer : "arduino" , Arch : "sam" , Version : "1.6.7" },
73+ {Maintainer : "arduino" , Arch : "avr" , Version : "1.6.10" },
74+ {Maintainer : "arduino" , Arch : "sam" , Version : "1.6.7" },
7575 }
7676
7777 boardsManagerCores := []Core {
78- Core {Maintainer : "arduino" , Arch : "samd" , Version : "1.6.5" },
78+ {Maintainer : "arduino" , Arch : "samd" , Version : "1.6.5" },
7979 }
8080
8181 boardsManagerRedBearCores := []Core {
82- Core {Maintainer : "RedBearLab" , Arch : "avr" , Version : "1.0.0" , Url : "https://redbearlab.github.io/arduino/Blend/blend_boards.zip" },
82+ {Maintainer : "RedBearLab" , Arch : "avr" , Version : "1.0.0" , Url : "https://redbearlab.github.io/arduino/Blend/blend_boards.zip" },
8383 }
8484
8585 toolsMultipleVersions := []Tool {
86- Tool {Name : "bossac" , Version : "1.6.1-arduino" },
87- Tool {Name : "bossac" , Version : "1.5-arduino" },
86+ {Name : "bossac" , Version : "1.6.1-arduino" },
87+ {Name : "bossac" , Version : "1.5-arduino" },
8888 }
8989
9090 tools := []Tool {
91- Tool {Name : "avrdude" , Version : "6.0.1-arduino5" },
92- Tool {Name : "avr-gcc" , Version : "4.8.1-arduino5" },
93- Tool {Name : "arm-none-eabi-gcc" , Version : "4.8.3-2014q1" },
94- Tool {Name : "ctags" , Version : "5.8-arduino11" ,
91+ {Name : "avrdude" , Version : "6.0.1-arduino5" },
92+ {Name : "avr-gcc" , Version : "4.8.1-arduino5" },
93+ {Name : "arm-none-eabi-gcc" , Version : "4.8.3-2014q1" },
94+ {Name : "ctags" , Version : "5.8-arduino11" ,
9595 OsUrls : []OsUrl {
96- OsUrl {Os : "i686-pc-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-i686-pc-linux-gnu.tar.bz2" },
97- OsUrl {Os : "x86_64-pc-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-x86_64-pc-linux-gnu.tar.bz2" },
98- OsUrl {Os : "i686-mingw32" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-i686-mingw32.zip" },
99- OsUrl {Os : "x86_64-apple-darwin" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-x86_64-apple-darwin.zip" },
100- OsUrl {Os : "arm-linux-gnueabihf" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-armv6-linux-gnueabihf.tar.bz2" },
101- OsUrl {Os : "aarch64-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-aarch64-linux-gnu.tar.bz2" },
96+ {Os : "i686-pc-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-i686-pc-linux-gnu.tar.bz2" },
97+ {Os : "x86_64-pc-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-x86_64-pc-linux-gnu.tar.bz2" },
98+ {Os : "i686-mingw32" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-i686-mingw32.zip" },
99+ {Os : "x86_64-apple-darwin" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-x86_64-apple-darwin.zip" },
100+ {Os : "arm-linux-gnueabihf" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-armv6-linux-gnueabihf.tar.bz2" },
101+ {Os : "aarch64-linux-gnu" , Url : "http://downloads.arduino.cc/tools/ctags-5.8-arduino11-aarch64-linux-gnu.tar.bz2" },
102102 },
103103 },
104- Tool {Name : "arduino-preprocessor" , Version : "0.1.5" ,
104+ {Name : "arduino-preprocessor" , Version : "0.1.5" ,
105105 OsUrls : []OsUrl {
106- OsUrl {Os : "i686-pc-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-i686-pc-linux-gnu.tar.bz2" },
107- OsUrl {Os : "x86_64-pc-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-x86_64-pc-linux-gnu.tar.bz2" },
108- OsUrl {Os : "i686-mingw32" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-i686-w64-mingw32.tar.bz2" },
109- OsUrl {Os : "x86_64-apple-darwin" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-x86_64-apple-darwin11.tar.bz2" },
110- OsUrl {Os : "arm-linux-gnueabihf" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-arm-linux-gnueabihf.tar.bz2" },
111- OsUrl {Os : "aarch64-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-aarch64-linux-gnu.tar.bz2" },
106+ {Os : "i686-pc-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-i686-pc-linux-gnu.tar.bz2" },
107+ {Os : "x86_64-pc-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-x86_64-pc-linux-gnu.tar.bz2" },
108+ {Os : "i686-mingw32" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-i686-w64-mingw32.tar.bz2" },
109+ {Os : "x86_64-apple-darwin" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-x86_64-apple-darwin11.tar.bz2" },
110+ {Os : "arm-linux-gnueabihf" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-arm-linux-gnueabihf.tar.bz2" },
111+ {Os : "aarch64-linux-gnu" , Url : "https://github.com/arduino/arduino-preprocessor/releases/download/0.1.5/arduino-preprocessor-0.1.5-aarch64-linux-gnu.tar.bz2" },
112112 },
113113 },
114114 }
115115
116116 boardsManagerTools := []Tool {
117- Tool {Name : "openocd" , Version : "0.9.0-arduino" , Package : "arduino" },
118- Tool {Name : "CMSIS" , Version : "4.0.0-atmel" , Package : "arduino" },
117+ {Name : "openocd" , Version : "0.9.0-arduino" , Package : "arduino" },
118+ {Name : "CMSIS" , Version : "4.0.0-atmel" , Package : "arduino" },
119119 }
120120
121121 boardsManagerRFduinoTools := []Tool {
122- Tool {Name : "arm-none-eabi-gcc" , Version : "4.8.3-2014q1" , Package : "RFduino" },
122+ {Name : "arm-none-eabi-gcc" , Version : "4.8.3-2014q1" , Package : "RFduino" },
123123 }
124124
125125 libraries := []Library {
126- Library {Name : "Audio" , Version : "1.0.4" },
127- Library {Name : "Adafruit PN532" , Version : "1.0.0" },
128- Library {Name : "Bridge" , Version : "1.6.1" },
129- Library {Name : "CapacitiveSensor" , Version : "0.5.0" , VersionInLibProperties : "0.5" },
130- Library {Name : "Ethernet" , Version : "1.1.1" },
131- Library {Name : "Robot IR Remote" , Version : "2.0.0" },
132- Library {Name : "FastLED" , Version : "3.1.0" },
126+ {Name : "Audio" , Version : "1.0.4" },
127+ {Name : "Adafruit PN532" , Version : "1.0.0" },
128+ {Name : "Bridge" , Version : "1.6.1" },
129+ {Name : "CapacitiveSensor" , Version : "0.5.0" , VersionInLibProperties : "0.5" },
130+ {Name : "Ethernet" , Version : "1.1.1" },
131+ {Name : "Robot IR Remote" , Version : "2.0.0" },
132+ {Name : "FastLED" , Version : "3.1.0" },
133133 }
134134
135135 download (t , cores , boardsManagerCores , boardsManagerRedBearCores , tools , toolsMultipleVersions , boardsManagerTools , boardsManagerRFduinoTools , libraries )
0 commit comments