Install Shunya OS and Run

Step 4: Install Shunya OS

Shunya Interfaces is built on top of Shunya OS and comes pre-installed with Shunya Interfaces. Shunya OS is an linux-based OS that runs on your hardware, it light-weight and configurable.

What will you need.

  1. Chosen board and its peripherals
  2. microSD card Reader/Adapter and microSD card
  3. Laptop/PC

Install Etcher

Etcher allows you to Flash Shunya OS on the micro-SD card.

For Ubuntu 16.04

Installing Etcher is Simple, download the executable file and Run.

  1. Download balenaEtcher for Linux.
  2. Extract the zip file.
  3. Run AppImage sudo ./balenaEtcher-xxx.AppImage

Flash Shunya OS

  1. Download Shunya OS
  2. Right click on the downloaded zip file.
  3. Click Extract here.
  4. Open Etcher.
  5. Click Select Image.
  6. You will find the Shunya OS .img file in the folder that we had extracted earlier.
  7. Select shunya-aaaa-image-xxxx.img file.
  8. Insert SD card.
  9. Click on Flash.
install-shunya-os-gif

This will load the micro-SD card with Shunya OS.

Booting Up with Shunya OS

  1. Insert the micro-SD card into the board.
  2. Connect peripherals like Keyboard, Mouse and HDMI monitor.
  3. Connect Power Supply.

The board should boot up with Shunya OS.

Login to Shunya

Login with these credentials:

  • Username : shunya
  • Password : shunya

Step 5: Run your program

Compile code and Run the program.

$ gcc -o myapp program.c -lsiCore -lsiIiot -lsiPeripheral -lsiYaml -lsiAlerts -lsiCloud -lsiConn
$ sudo ./myapp