Installation of Application SDK for Qualcomm® Robotics RB3 Platform

Introduction

This page summarizes information on installing the SDK used to develop applications for the Qualcomm® Robotics RB3 Platform. The Qualcomm® Robotics RB3 Platform development kit is preloaded with an embedded Linux OS (Yocto Project base) built by Thundercomm. Install the Applicatoin SDK, which is necessary for developing applications that run on the development kit, to the development Linux PC, build the sample application, and run it on the development kit.

Related page: Setting up Linux PC environment for development

Download Application SDKs

Please download "App Toolchain SDK" from Thundercomm website.

click here to download

A file called "oecore-x86_64-aarch64-toolchain-nodistro.0.sh" will be saved to your PC.



(Note): Downloading from the Thundercomm website requires a separate purchase of the Qualcomm® Robotics RB3 Development Kit and account registration on the website. For inquiries regarding the purchase of the development kit and for quotations, please use the link below.

Installing Application SDKs

Open a terminal on your Linux PC and execute the following commands in order.

$ mkdir ROBOTICS-SDA845-LE-APP-SDK $ mv oecore-x86_64-aarch64-toolchain-nodistro.0.sh ROBOTICS-SDA845-LE-APP-SDK/ $ cd ROBOTICS-SDA845-LE-APP-SDK $ chmod +x oecore-x86_64-aarch64-toolchain-nodistro.0.sh $ ./oecore-x86_ 64-aarch64-toolchain-nodistro.0.sh

The following log will be displayed and you will be asked for the installation destination directory. Press Enter and then press Y to install to the default directory.

robot SDK installer version nodistro.0 ====================================== Enter target directory for SDK (default: /usr/local/oecore-x86_64): You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]? Y

The following log is displayed and Application SDK installation is complete.

Extracting SDK..................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . /usr/local/oecore-x86_64/environment-setup-aarch64-oe-linux
 $ . /usr/local/oecore-x86_64/environment-setup-armv7a-neon-oemllib32-linux-gnueabi

Try Application SDK

Try building an application that prints "Hello World!"

On your Linux PC, create a Hello.c file using an editor (eg vi, etc.), and then write the following contents in the Hello.c file.

#include <stdio.h> #include <stdlib.h> int main(void) { printf("Hello World ! "); return 0; }

Build with the following command.

$ source /usr/local/oecore-x86_64/environment-setup-aarch64-oe-linux $ aarch64-oe-linux-gcc --sysroot=/usr/local/oecore-x86_64/sysroots/aarch64-oe-linux -O2 -fexpensive-optimizations -frename-registers -fomit-frame-pointer -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed Hello.c -o Hello

Connect the Linux PC and the Qualcomm® Robotics RB3 development kit with a USB cable, transfer the completed application executable file to the development kit using ADB, and run it.

$ adb push Hello /bin/
$ adb shell
# chmod u+x /bin/Hello
# Hello
Hello World ! 

Preparations are complete. Let's start developing applications for the Qualcomm® Robotics RB3 Platform.

Inquiry / Quotation

For inquiries about the Qualcomm® Robotics RB3 Platform and a quotation for the development kit, please use the link below.