SDK

Installing CHIP SDK

CHIP SDK

Install VirtualBox 4.3

# nano /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian vivid contrib
# cd
# wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
# apt-get update
# apt-get install virtualbox-5.0
# apt-get install dkms

Install VirtualBox Extension Pack 4.3

VirtualBox Extension Pack 4.3

Install Vagrant

# apt-get install install vagrant

Install Git

# apt-get install git

Install CHIP-SDK

$ git clone https://github.com/NextThingCo/CHIP-SDK

Virtual Machine Startup

$ cd CHIP-SDK
$ vagrant up
$ vagrant ssh
vagrant@vagrant-ubuntu-trusty-32:~$

Ubuntu Setup

vagrant@vagrant-ubuntu-trusty-32:~$ ./CHIP-SDK/setup_ubuntu1404.sh

### Virtual Machine Exit

```sh
vagrant@vagrant-ubuntu-trusty-32:~$ vagrant plugin install vagrant-vbguest
vagrant@vagrant-ubuntu-trusty-32:~$ exit
$ vagrant halt

Issues

In Buildroot

vagrant@vagrant-ubuntu-trusty-32:~$ usermod -a -G dialout vagrant
vagrant@vagrant-ubuntu-trusty-32:~$ adduser vagrant dialout
vagrant@vagrant-ubuntu-trusty-32:~$ chmod 666 /dev/ttyACM0
vagrant@vagrant-ubuntu-trusty-32:~$ cu -l /dev/ttyACM0 -s 115200

Last updated