File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 2
2
3
3
echo " Installing dependencies needed to build the sources and tests..."
4
4
5
- ARDUINO_BASENAME=" arduino-1.0.6"
6
- ARDUINO_FILE=" $ARDUINO_BASENAME -linux64.tgz"
7
- ARDUINO_URL=" http://arduino.cc/download.php?f=/$ARDUINO_FILE "
8
-
9
- AVR_GCC_BASENAME=" arduino-1.5.8"
10
- AVR_GCC_FILE=" $AVR_GCC_BASENAME -linux64.tgz"
11
- AVR_GCC_URL=" http://arduino.cc/download.php?f=/$AVR_GCC_FILE "
12
-
13
- echo " Installing Arduino 1.0.6..."
5
+ ARDUINO_BASENAME=" arduino-1.8.9"
6
+ ARDUINO_FILE=" $ARDUINO_BASENAME -linux64.tar.xz"
7
+ ARDUINO_URL=" https://downloads.arduino.cc/$ARDUINO_FILE "
14
8
9
+ echo " Downloading $ARDUINO_BASENAME from $ARDUINO_URL "
15
10
wget " $ARDUINO_URL " -O " $ARDUINO_FILE "
11
+
12
+ echo " Unzipping $ARDUINO_BASENAME "
16
13
tar -xzf " $ARDUINO_FILE "
17
- sudo mv " $ARDUINO_BASENAME /" " $ARDUINO "
18
14
19
- echo " Installing avr-gcc from Arduino 1.5.8..."
15
+ echo " Installing avr-gcc to $AVR_GCC "
16
+ sudo mv " $ARDUINO_BASENAME /hardware/tools/avr" " $AVR_GCC "
20
17
21
- wget " $AVR_GCC_URL " -O " $AVR_GCC_FILE "
22
- tar -xzf " $AVR_GCC_FILE "
23
- sudo mv " $AVR_GCC_BASENAME /hardware/tools/avr" " $AVR_GCC "
18
+ echo " Install Arduino to $ARDUINO "
19
+ sudo mv " $ARDUINO_BASENAME /" " $ARDUINO "
24
20
25
21
echo " Installation of dependencies is complete, we are now going to run some tests..."
26
22
You can’t perform that action at this time.
0 commit comments