Requirements

The Sentrius™ IG60 Laird Linux Build is based on Laird Connectivity's 60 Series SOM module, and is similarly configured and developed. This guide is designed to walk you through Laird Connectivity's development process for the IG60-SERIAL, including the Laird Connectivity Linux board support package. The most seamless workflow for developing your application for the IG60-SERIAL is to set up a GitHub account, configure your SSH keys, and then install and configure Git on your development PC.

To configure the Laird Connectivity Linux development environment, you'll need the following:

Github Account

Laird Connectivity makes available various source libraries via Github at https://github.com/lairdcp. To download source files, you'll need to register an account with Github. Get started at https://github.com/join.

Ubuntu Linux 16.04 64-bit

Laird Connectivity recommends Ubuntu 16.04 64-bit as the base operating system for your development. All instructions in this reference guide assume a developer on an Ubuntu 16.04 64-bit system. If using other than Ubuntu 16.04 64-bit, please ensure you Linux distribution is a 64-bit variant as the cross-compiling toolchain requires a 64-bit Linux environment..

Github and SSH

Laird Connectivity makes extensive use of GitHub for development and storage of our board support packages.

To register a GitHub account, visit https://github.com/join.

Once you've registered an account at GitHub, you'll need to configure your SSH keys. Laird Connectivity utilizes SSH authentication for access to our GitHub repositories. If you haven't configured SSH on your development PC, follow the instructions below.

  1. Verify if your private and public keys exist:
    /.ssh/id_rsa

    /.ssh/id_rsa.pub
  2. If they do not exist, generate them with the following command:
    $ ssh-keygen
    Accept default file path and enter no passphrase, and continue.
  3. View your public key with the following command:
    $ cat ~/.ssh/id_rsa.pub

Enter the contents of id_rsa.pub into your GitHub account in the SSH Keys configuration panel. More details of this process can be found in GitHub's help documentation.

Git

Laird Connectivity delivers our Linux board support package using Git repositories. If you haven't set up Git, you can use the shell commands below to enable Git for use with GitHub.

$ sudo apt install git
$ git config --global user.name "Your Name"
$ git config --global user.email "youraddress@yourcompany.com"
$ git config --list

Repo..............................................

Laird Connectivityuses the Repo tool from the Android project to pull down and correctly lay out the Git repositories that comprise the Laird Connectivity Linux board support package. To install Repo, issue the following shell command:

$ sudo apt install repo

More information is available from the Android source documentation.