This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install build-essential dkms linux-headers-$(uname -r) | |
sudo apt install openjdk-8-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
export PATH=${PATH}:${JAVA_HOME}/bin | |
sudo apt-get install binutils-msp430 gcc-msp430 msp430-libc msp430mcu mspdebug gcc-arm-none-eabi gdb-arm-none-eabi openjdk-8-jre ant libncurses5-dev | |
git clone https://github.com/contiki-os/contiki.git contiki | |
cd contiki/tools/ |