-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
26 lines (25 loc) · 796 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
echo "Installing msp tools..."
sudo apt-get -y -q install msp430mcu msp430-libc mspdebug gcc-msp430 gdb-msp430
echo "Ok."
echo "Installing avr tools..."
sudo apt-get -y -q install gcc-avr binutils-avr gdb-avr avr-libc avrdude
echo "Ok."
echo "Installing nesc dependancies.."
sudo apt-get -y -q install automake autoconf emacs gperf bison flex git
echo "Ok"
echo "Downloading nesc github source."
mkdir ./tinyos/
cd ./tinyos/
git clone https://github.com/tinyos/nesc
echo "Installing nesc"
cd nesc
./Bootstrap && ./configure && make && sudo make install
cd ..
echo "Downloading tinyos-main source"
git clone https://github.com/tinyos/tinyos-main
echo "Installing tinyos"
cd tinyos-main/tools
./Bootstrap && ./configure && make && sudo make install
cd ..
echo "Installation complete."