Setup
Hardware targets
-
ARTIK 053
-
USB-B Cable
Development environment
-
Check the following prerequisites before installing the Tizen Studio for RT:
-
Ubuntu 16.04/14.04 64/32 bit
-
JDK 8/9
https://www.oracle.com/technetwork/java/javaee/downloads/jdk8-downloads-2133151.html
-
Docker
-
-
Tizen RT Studio version 2.0 (or later), supporting SmartThings functionality.
TizenRT Installation
-
Install latest Tizen Studio from the link given below:
https://developer.tizen.org/development/tizen-studio/download -
After successful installation launch the Package Manager.
-
In the Package Manager, install RT SDK tools. This will install the required IDE and toolchain.
-
After the installation is complete, close the Package Manager.
-
Launch Tizen Studio for RT.
Docker Setup in Ubuntu 14.04
-
Manage docker as a non-root user
$ sudo groupadd docker $ sudo usermod -aG docker $USER
Log out and log back in so that your group membership is re-evaluated
&docker run hello-word
-
Setup the repository
$ sudo atp-get remove docker docker-engine docker.io $ sudo atp-get update $ sudo atp-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common $curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
-
Install Docker CE
$ sudo atp-get update $ sudo atp-get install docker-ce $ sudo docker run hello-word
Artik 053 Board Diagram
Sample Code
Here is a sample code for you to start coding this activity. Feel free to download them and start your learning experience!