Tizen RT - Step by Step Guide for Running Sample Application on ARTIK 053

From Tizen Wiki
Jump to: navigation, search

Tizen RT is a lightweight RTOS-based platform to support low-end IoT devices.

This getting started document will show how to setup the development environment, download source code, compile/build Tizen RT and eventually flash and run a sample application on a low-end IoT device.

For this purpose we have chosen: ARTIK053 (with starter kit).

Information about ARTIK053 starter kit: https://www.artik.io/modules/artik-053/

Development Environment Setup:

For this tutorial, Ubuntu 16.04 Linux machine is used with internet connectivity.

Step 1: At first, Update and installation of some packages are required for setup. Update is needed to get information on the newest versions and their dependencies. Package installation is also necessary to set up the environment for running a flexible GNU development environment and flashing over the JTAG interface.

Open up the command terminal and execute the commands below:

 sudo apt-get update
 sudo apt-get install git gperf libncurses5-dev flex bison
 sudo apt-get install openocd libusb-1.0

Step 2: This step ensures the Installation of toolchain. Toolchain is a tool that produces executables to run on a different architecture (e.g. ARM).

Installation of ARM toolchain is done by executing the command below:

 sudo apt-get install gcc-arm-none-eabi

Step 3: After installation, edit the bash init script to add the correct tool chain path prefix.

The command below will allow editing the .bashrc file. (More information about the usage of Vi editor is available at: https://www.tutorialspoint.com/unix/unix-vi-editor.htm)

 vi ~/.bashrc 

Add the line below at the end of file (using Vi editor’s insert mode).

 export CROSSDEV=arm-none-eabi-

After adding the line at the end, it may look as below: