Start by installing some necessary packages:
$ sudo apt update
$ sudo apt install build-essential doxygen git curl wireshark python3-serial srecord rlwrap
While installing Wireshark, select enable the feature that lets non-superuser capture packets (select "yes").
$ sudo apt install autoconf automake libxmu-dev
To install GCC for ARM controller
$ wget https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2
Extract this file in the home folder itself.
To open the above file using a terminal
vl@ubuntu:~/gcc-arm-none-eabi-5_2-2015q4-20151219-linux$ pwd
/home/vl/gcc-arm-none-eabi-5_2-2015q4-20151219-linux
vl@ubuntu:~/gcc-arm-none-eabi-5_2-2015q4-20151219-linux$ cd
vl@ubuntu:~$ pwd
/home/vl
vl@ubuntu:~$ gedit .bashrc
set the above in the PATH Environment.
/home/vl/.bashrc as:
export PATH=$PATH:/home/vl/gcc-arm-none-eabi-5_2-2015q4-20151219-linux/bin
To check the added path use the commnad
$ echo $PATH
Add this path in .bashrc file
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/bin/java
CoAP Client
$ sudo apt-get install -y npm && sudo apt-get clean && sudo npm install coap-cli -g && sudo ln -s /usr/bin/nodejs /usr/bin/node
MQTT Clients
$ sudo apt-get install -y mosquitto mosquitto-clients
Configuration Completed.
Download Contiki NG
$ cd contiki-ng
No comments:
Post a Comment